-
Hi all! Opening a discussion / brainstorming on how we could improve our Pull Requests Semantic Commits. This discussion is inspired by the thread in this issue. It would be nice to find a way to prevent merging a PR with a commit (if squashed) or set of commits (if not squashed) accomplishing Semantic Commit rules to preserve and assure all the flows around Semantic Release in Octokit Ecosystem are archived. At the same time, it would be important to remove friction to contributors when working in a PR and not forcing them to make all commits semantic if they plan to squash. @G-Rath come up with a proposal here: octokit/webhooks@8506555 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
@G-Rath in your proposal the same issue you pointed would happen right?
|
Beta Was this translation helpful? Give feedback.
-
If we use https://github.com/apps/semantic-pull-requests then changing the PR title would be sufficient to make the test pass |
Beta Was this translation helpful? Give feedback.
-
Sorry it's been a while since I've used it so I'm a bit fuzzy on the details, but iirc it was actually about conditions on merging: The app cannot require you to merge or squash a PR, so it can report that a PR is semantic because it's got a single semantic commit which it expects you'll merge rather than squash. Then you squash the PR, making the non-semantic title the commit message and boom you've got a non-semantic message in your branch. I'm not fussed with what we use - I just found it was a better experience using |
Beta Was this translation helpful? Give feedback.
-
Just to follow up on this. The GitHub app was created 🍾 🍾 🍾 🍾 |
Beta Was this translation helpful? Give feedback.
Just to follow up on this. The GitHub app was created 🍾 🍾 🍾 🍾
https://github.com/apps/squash-commit-app