-
Notifications
You must be signed in to change notification settings - Fork 7
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
ci: Add PR title check #5548
ci: Add PR title check #5548
Conversation
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.
Two comments, but both minor 🙏
README.md
Outdated
@@ -163,3 +163,46 @@ In order to automatically format code in VS Code according to our style guide: | |||
2. Enable the **Editor: Format on Save** setting: `"editor.formatOnSave": true`. | |||
|
|||
Your files will now be formatted automatically when you save them. | |||
|
|||
### PR title rules |
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.
Does this addition belong in the CONTRIBUTING.md
instead?
We also have a (public!) Slab doc: https://beyond-essential.slab.com/posts/pr-titles-conventional-commits-avgsj3xb
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.
Ah good point, will move it there
README.md
Outdated
|
||
We use a squash-and-merge strategy when merging PRs into dev. This means the commit messages in dev will match the PR titles. We like to keep standardised commit messages as an easy way to track release changes and for record keeping purposes. | ||
|
||
The title of pull requests must be in [Conventional Commit] format. This is used to generate |
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.
The title of pull requests must be in [Conventional Commit] format. This is used to generate | |
The title of pull requests must be in [Conventional Commit](https://beyond-essential.slab.com/posts/pr-titles-conventional-commits-avgsj3xb) format. This is used to generate |
README.md
Outdated
|
||
The title of pull requests must be in [Conventional Commit] format. This is used to generate | ||
changelogs, and to provide a consistent format for commits landing in the main branch, as pull | ||
requests are merged in "squash" mode. |
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.
requests are merged in "squash" mode. | |
requests are merged in “squash” mode. |
Admittedly a nitpick of nitpicks
No description provided.