Skip to content
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

Merged
merged 4 commits into from
Apr 2, 2024
Merged

ci: Add PR title check #5548

merged 4 commits into from
Apr 2, 2024

Conversation

rohan-bes
Copy link
Collaborator

No description provided.

@rohan-bes rohan-bes changed the title no-issue: Add Tamanu style PR Title check chore: Add Tamanu style PR Title check Apr 2, 2024
@rohan-bes rohan-bes changed the title chore: Add Tamanu style PR Title check chore(ci): Add Tamanu style PR Title check Apr 2, 2024
@rohan-bes rohan-bes changed the title chore(ci): Add Tamanu style PR Title check ci: Add Tamanu style PR Title check Apr 2, 2024
@rohan-bes rohan-bes changed the title ci: Add Tamanu style PR Title check Release 2024-25 Apr 2, 2024
@rohan-bes rohan-bes changed the title Release 2024-25 Release 2024-cat Apr 2, 2024
@rohan-bes rohan-bes changed the title Release 2024-cat Release 2024-13 Apr 2, 2024
@rohan-bes rohan-bes changed the title Release 2024-13 ci: Add PR title check Apr 2, 2024
@rohan-bes rohan-bes changed the title ci: Add PR title check feat: Add PR title check Apr 2, 2024
@rohan-bes rohan-bes changed the title feat: Add PR title check feat: RN-1235: Add PR title check Apr 2, 2024
@rohan-bes rohan-bes changed the title feat: RN-1235: Add PR title check feat(cat): RN-1235: Add PR title check Apr 2, 2024
@rohan-bes rohan-bes changed the title feat(cat): RN-1235: Add PR title check ci: RN-1235: Add PR title check Apr 2, 2024
@rohan-bes rohan-bes changed the title ci: RN-1235: Add PR title check ci: Add PR title check Apr 2, 2024
Copy link
Contributor

@jaskfla jaskfla left a 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
Copy link
Contributor

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

Copy link
Collaborator Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
requests are merged in "squash" mode.
requests are merged in squash mode.

Admittedly a nitpick of nitpicks

.github/workflows/check-pr-title.yaml Show resolved Hide resolved
@rohan-bes rohan-bes merged commit 97c8c06 into dev Apr 2, 2024
43 checks passed
@rohan-bes rohan-bes deleted the add-pr-title-check branch April 2, 2024 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants