-
Notifications
You must be signed in to change notification settings - Fork 27.4k
chore(travis): add commitplease validation to ci-checks #16097
Conversation
b9792d7
to
8239dc4
Compare
This will provide feedback to contributors without getting in the way of writing invalid commit messages locally. The git hook integration is turned off. Committers who push directly to the repo can be expected to use correct commit messages ;) Most changes go through PRs anyway. Related to angular#14888
8239dc4
to
677962b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come this PR doesn't fail its own commitplease checks, since you have a squash me
commit in there?
I don't think CI should pass for such commits.
I saw this more as a help for contributors to check their PR commit message validity. PRs must be merged manually anyway and since we can squash via the UI I think it's unnecessary to require a full commit message on each fixup / squash. |
I think fixup/squash commits are fine (contributors don't use them that much anyway 😃), but (Given that this is an extra check compared to what we had before, I don't mind it being less strict.) |
OK, I am happy to go with your opinion here.
I've opened an issue about WIP / Merge in the commitplease REPO. It's odd that this is hardcoded: jzaefferer/commitplease#101 If you're being strict, Angular style commit message actually disallows Merge commits |
This will provide feedback to contributors without getting in the way of writing invalid commit messages locally. The git hook integration is turned off. Committers who push directly to the repo can be expected to use correct commit messages ;) Most changes go through PRs anyway. Note that "Merge commit" messages and everything starting with "WIP" is always allowed by commitplease. Follow issue jzaefferer/commitplease#101 for more info. Related to angular#14888 Closes angular#16097
This will provide feedback to contributors without getting in the way of writing invalid commit messages locally. The git hook integration is turned off. Committers who push directly to the repo can be expected to use correct commit messages ;) Most changes go through PRs anyway. Note that "Merge commit" messages and everything starting with "WIP" is always allowed by commitplease. Follow issue jzaefferer/commitplease#101 for more info. Related to angular#14888 Closes angular#16097
This will provide feedback to contributors without getting in the way of writing invalid commit messages locally. The git hook integration is turned off. Committers who push directly to the repo can be expected to use correct commit messages ;) Most changes go through PRs anyway. Note that "Merge commit" messages and everything starting with "WIP" is always allowed by commitplease. Follow issue jzaefferer/commitplease#101 for more info. Related to #14888 Closes #16097
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
chore
What is the current behavior? (You can also link to an open issue here)
PR commit messages are not validated
What is the new behavior (if this is a feature change)?
travis validates PR commit messages
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements
Other information: