feat: handle merge_group event - get squashed commit#806
Merged
wagoid merged 5 commits intowagoid:masterfrom Dec 16, 2024
Merged
Conversation
This was referenced Dec 8, 2024
de09eb9 to
038b0ee
Compare
Contributor
Author
|
Hey @wagoid, |
wagoid
approved these changes
Dec 16, 2024
Owner
wagoid
left a comment
There was a problem hiding this comment.
Amazing work @YossiSaadi! 🌟
Thanks for the testes and detailed documentation
wagoid
pushed a commit
that referenced
this pull request
Dec 16, 2024
* feat: handle merge_group event - get squashed commit * test: merge_group event * chore: temporarily change docker image * Revert "chore: temporarily change docker image" This reverts commit 39350ef. * docs: update merge_group event support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support for GitHub Merge Queue (merge_group Event)
Summary
This pull request adds support for GitHub's merge queue functionality by handling the
merge_groupevent in thecommitlint-github-action. It enables users who utilize GitHub's merge queue feature to lint commit messages effectively during the merge process.Resolve #744 #757
Changes
action.mjsand tests to Supportmerge_groupEvent:merge_groupevent.merge_groupevent.Testing
I've tested the updated action extensively to ensure it works correctly with the
merge_groupevent.Test Repository: yossi-test-org/test-merge-queue
Test Pull Request: PR #24
Test Steps
commitlintstatus check.merge_groupevent and runs thecommitlintaction.pull_requestevent with a job namedcommitlintto satisfy merge queue requirements.merge_groupevent.commitlintaction runs successfully during themerge_groupevent on the squashed commit.For testing I also pushed the image to a container registry and ran the workflow against it (https://github.com/users/YossiSaadi/packages/container/package/commitlint-github-action)