Skip to content

fix(ci): match dependabot PR author instead of github.actor - #7

Open
rlespinasse wants to merge 1 commit into
mainfrom
fix/dependabot-auto-merge-pr-author
Open

rlespinasse wants to merge 1 commit into
mainfrom
fix/dependabot-auto-merge-pr-author

Conversation

@rlespinasse

@rlespinasse rlespinasse commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

The auto-merge job filters on github.actor. That is dependabot[bot] when the PR is opened, but it becomes the login of whoever re-runs the workflow manually — the job is then silently skipped.

Switch to github.event.pull_request.user.login, which describes the PR author and does not change on re-run. This is also the form used in the GitHub documentation.

No behaviour change on the nominal trigger.

🤖 Generated with Claude Code

github.actor becomes the login of whoever re-runs the workflow manually,
which silently skips the auto-merge job. github.event.pull_request.user.login
describes the PR author and does not vary on re-run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@rlespinasse
rlespinasse force-pushed the fix/dependabot-auto-merge-pr-author branch from 0870fce to 31465e2 Compare August 30, 2026 23:49
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