-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Single commit validation does not factor in merge commits [#108] #127
Conversation
Closes #108 With a recent change, GitHub no longer factors in merge commits added by the "update branch" button into whether to use the PR title. If a dev submits a PR with a single commit, then presses the "update branch" button, action-semantic-pull-request will allow the branch to be merged, however GitHub will still use the commit title rather than the PR title.
Thanks a lot for looking into this! Do you think you could fix the stylistic lint error ( Many thanks! |
@amannn Done! 😄 |
🎉 This PR is included in version 3.4.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
@julianpoy Unfortunately this PR has caused a bug (#128) and I had to revert this temporarily. I think the access to Would you be interested in creating another PR with the change and the fix? The contributors guide has instructions about how you can test this action. Due to the nature of this action we have to rely a bit on manual testing unfortunately and I overlooked to do it. |
@amannn oh wow, so sorry about that! Makes sense, will try the fix again following that guide. Unsure why the commit.message would be invalid for commits mapped. Perhaps merge commits don't include a |
Can confirm - I'm getting |
Closes #108
With a recent change, GitHub no longer factors in merge commits added by the "update branch" button into whether to use the PR title. If a dev submits a PR with a single commit, then presses the "update branch" button, action-semantic-pull-request will allow the branch to be merged, however GitHub will still use the commit title rather than the PR title.