Skip to content

ci: drop fetch-metadata from Dependabot auto-merge - #19

Merged
aurimas-arlauskas merged 1 commit into
mainfrom
ci/dependabot-automerge-drop-metadata
Sep 17, 2026
Merged

aurimas-arlauskas merged 1 commit into
mainfrom
ci/dependabot-automerge-drop-metadata

Conversation

@aurimas-arlauskas

Copy link
Copy Markdown
Contributor

Summary

  • dependabot/fetch-metadata only works on pull_request / pull_request_target. Auto-merge runs on workflow_run so it can see org Actions secrets, and the action then errors: Event payload missing pull_request key / PR is not from Dependabot.
  • pr-number is not a valid input on @v2, and a synthetic event file does not work either (dependabot/fetch-metadata#490).
  • Drop it. This repo only opens Dependabot security PRs (open-pull-requests-limit: 0). Author + green checks is the gate.

Test plan

Made with Cursor

The action requires a pull_request event payload. workflow_run does
not have one, so it failed on #14 after the author lookup succeeded.

Co-authored-by: Cursor <cursoragent@cursor.com>
@aurimas-arlauskas
aurimas-arlauskas merged commit e41dc33 into main Sep 17, 2026
1 check passed
@aurimas-arlauskas
aurimas-arlauskas deleted the ci/dependabot-automerge-drop-metadata branch September 17, 2026 10:50
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.

1 participant