Skip to content

fix: automerge workflow event condition#174

Merged
JohnMcLear merged 1 commit intomasterfrom
fix/automerge-event-condition
Apr 15, 2026
Merged

fix: automerge workflow event condition#174
JohnMcLear merged 1 commit intomasterfrom
fix/automerge-event-condition

Conversation

@JohnMcLear
Copy link
Copy Markdown
Member

Summary

  • The automerge workflow checks github.event.workflow_run.event == 'pull_request', but the Node.js Package workflow triggers on push events
  • This means the automerge condition is never satisfied and dependabot PRs are never auto-merged
  • Fix: change the condition to check for push instead of pull_request

Test plan

  • Verify automerge workflow runs are no longer skipped when dependabot PRs pass CI

Generated with Claude Code

The test workflow (Node.js Package) triggers on push events, but the
automerge condition checked for pull_request events, causing it to
always skip. Fix the condition to match the actual event type.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JohnMcLear JohnMcLear merged commit 41b6e49 into master Apr 15, 2026
3 checks passed
@JohnMcLear JohnMcLear deleted the fix/automerge-event-condition branch April 15, 2026 08:44
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