Repository navigation
ci: ensure pull request follow conventional commits spec - #11840
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 9b7cfa9
Previous suggestionsSuggestions up to commit 6570d71
Suggestions up to commit a4ff8b9
Suggestions up to commit a68ca09
|
||||||||||||||||||||||||||||||||||||||
Updated error message for pull request title validation to clarify requirements.
|
This seems a bit heavy handed to me. I would rather encourage contributions and leave it to maintainers to edit PR titles as needed (without a failing check) |
+1 |
It's linting like any other. Just this time it's linting PR and not the code. Seems very reasonable thing for me to do. I took this one from |
|
I just checked the contributing guide and I couldn't clearly see an instruction on the PR name convention in particular. There is a detailed section on commit message format, but it's not necessarily obvious that the PR name must follow that. So we should also make the expectation explicit there, with an example. I'm personally OK with this change - with the amount of external contributions we get, it will at least keep things consistent. When the workflow fails, does it also add a comment to the PR thread with the error? |
|
No, it does not add a comment, but PR owner would get an email with failed build notification. Maintainers will see it too. And we should add this workflow to pass as part of branch protection rules. Let me update the contribution guidelines to stay consistent. |
|
I double checked and other popular repos do not add comment. Possibly to avoid the noise. This action documentation does show example how to add a comment when it fails (and remove when fixed), but I am not sure if this is worth the effort. I was 50/50 on this, and eventually decided not to do it. Let me know if you think otherwise... |
G0maa
left a comment
There was a problem hiding this comment.
Should probably update CONTRIBUTING.md to reflect this.
|
I’m neutral on this change; we could always test it and see if it makes people’s lives harder, then remove it 😀 |
Deploying typeorm with
|
| Latest commit: |
6570d71
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f5296cd2.typeorm.pages.dev |
| Branch Preview URL: | https://ci-semantic-pr.typeorm.pages.dev |
Co-authored-by: Giorgio Boa <[email protected]>
Co-authored-by: Giorgio Boa <[email protected]>
Ensures that pull request titles match the Conventional Commits spec