Skip to content

Add optional payload input to dependabot-worker reusable workflow#31679

Merged
mnkiefer merged 7 commits into
mainfrom
update-dependabot
May 12, 2026
Merged

Add optional payload input to dependabot-worker reusable workflow#31679
mnkiefer merged 7 commits into
mainfrom
update-dependabot

Conversation

@mnkiefer
Copy link
Copy Markdown
Collaborator

@mnkiefer mnkiefer commented May 12, 2026

Bug Fix

What was the bug?

The dependabot-worker reusable workflow's workflow_call.inputs did not declare a payload input, but callers (e.g. dependabot-campaign.lock.yml) pass payload when invoking it. GitHub rejects unknown inputs for reusable workflows, causing the workflow call to fail.

How did you fix it?

Added an optional payload string input to the workflow_call.inputs section of dependabot-worker.md, matching the pattern used by smoke-workflow-call.md. The compiled lock file (dependabot-worker.lock.yml) was regenerated to include the new input, and dependabot-campaign.lock.yml was updated to reflect the new input declaration on the worker.

Testing

  • gh-aw compile succeeds with no errors
  • dependabot-worker.lock.yml now includes the payload input under workflow_call.inputs
  • dependabot-campaign.lock.yml updated to reflect the worker's new payload input

@mnkiefer mnkiefer self-assigned this May 12, 2026
Copilot AI review requested due to automatic review settings May 12, 2026 12:02
@mnkiefer mnkiefer changed the title Add Dependabot Worker workflow Update dependabot campaign May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ smoke-ci: safeoutputs CLI comment + comment-memory run (25733120246)

Generated by Smoke CI for issue #31679 ·

@github-actions
Copy link
Copy Markdown
Contributor

Comment Memory

CI lights the path
Green checks bloom at dawn
Quiet bots still sing

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

Generated by Smoke CI for issue #31679 ·

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Dependabot “campaign + worker” setup to bundle workflow-manifest Dependabot PRs into a single remediation wave, with generated (locked) workflow manifests and updated Dependabot configuration.

Changes:

  • Introduces a reusable dependabot-worker workflow (source .md + compiled .lock.yml) to apply source-of-truth dependency bumps and regenerate manifests.
  • Introduces a scheduled dependabot-campaign orchestrator workflow (source .md + compiled .lock.yml) that discovers in-scope Dependabot PRs and calls the worker once.
  • Updates .github/dependabot.yml to group workflow-manifest updates and limit concurrent PRs for those ecosystems.
Show a summary per file
File Description
.github/workflows/dependabot-worker.md Defines the reusable worker prompt/config and tool allowlist for bundling and fixing workflow-manifest Dependabot PRs.
.github/workflows/dependabot-worker.lock.yml Compiled, pinned workflow manifest for dependabot-worker.
.github/workflows/dependabot-campaign.md Defines the campaign orchestrator prompt/config and scoreboard computation logic.
.github/workflows/dependabot-campaign.lock.yml Compiled, pinned workflow manifest for dependabot-campaign.
.github/dependabot.yml Adds grouping/limits intended to reduce Dependabot PR noise for workflow manifests.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 5/5 changed files
  • Comments generated: 3

Comment thread .github/workflows/dependabot-worker.md
Comment thread .github/workflows/dependabot-worker.md
Comment thread .github/workflows/dependabot-campaign.md Outdated
Copilot AI and others added 2 commits May 12, 2026 12:13
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title Update dependabot campaign Add optional payload input to dependabot-worker reusable workflow May 12, 2026
@mnkiefer
Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

Copilot AI and others added 2 commits May 12, 2026 12:58
# Conflicts:
#	.github/workflows/aw-portfolio-yield.lock.yml

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 12, 2026

@copilot resolve the merge conflicts in this pull request

Merged origin/main into the branch. The only conflict was in .github/workflows/aw-portfolio-yield.lock.yml (modified by both branches), which was resolved by taking main's version since our branch's changes to that file were unintentional compilation side effects.

@mnkiefer mnkiefer merged commit 3092b95 into main May 12, 2026
74 of 76 checks passed
@mnkiefer mnkiefer deleted the update-dependabot branch May 12, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants