You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the merge_group event on GitHub, to check against the squashed commit that is about to be merged, and using merge queue only for this purpose, to prevent merge commits to not be commitlint.
For some reason, the action keeps on succeeding although it should fail.
An important note:
When I run this action in the pull_request event or push event it works correctly and fails the workflow!
so there's only an issue with the merge_group event.
TL;DR:
I'm using the
merge_group
event on GitHub, to check against the squashed commit that is about to be merged, and using merge queue only for this purpose, to prevent merge commits to not be commitlint.For some reason, the action keeps on succeeding although it should fail.
An important note:
When I run this action in the
pull_request
event orpush
event it works correctly and fails the workflow!so there's only an issue with the
merge_group
event.See this repo: https://github.com/yossi-test-org/test-merge-queue
with this action: https://github.com/yossi-test-org/test-merge-queue/actions/workflows/commitlint.yml
and more specifically this action run: https://github.com/yossi-test-org/test-merge-queue/actions/runs/7897818307/job/21554034430
which ran on this commit: yossi-test-org/test-merge-queue@2f49ddb
Attached an image to summarize all (see the "Show commit message" step that makes sure what commitlint runs against):
It's a required action, so it should fail the merge queue and to not merge this PR:
The text was updated successfully, but these errors were encountered: