Skip to content

fix: correctly use github.event.action to fetch the type of event#725

Merged
susnux merged 1 commit into
masterfrom
fix/automerge
May 16, 2026
Merged

fix: correctly use github.event.action to fetch the type of event#725
susnux merged 1 commit into
masterfrom
fix/automerge

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented May 16, 2026

github.event.pull_request is the pull request object not the event object, so .action always resolves to null and breaks auto-merge.

@susnux susnux added 3. to review Waiting for reviews bug Something isn't working labels May 16, 2026
`github.event.pull_request` is the pull request object not the event
object, so `.action` always resolves to null and breaks auto-merge.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux merged commit d77ae16 into master May 16, 2026
5 checks passed
@susnux susnux deleted the fix/automerge branch May 16, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants