-
Notifications
You must be signed in to change notification settings - Fork 565
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: Reject PRs without CHANGELOG update #584
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.
great, thanks a lot!
|
||
### Tests | ||
### Checklist |
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.
it's more an "Unchecklist" 😉
It seems there are now plans to release |
Up to you. Feel free to merge and maybe create an issue to update once it's available. Thanks for all the Actions R&D! |
After using the PR template for a while, I think simplifying it will be helpful: - GitHub includes the commit message description automatically with the aim of saving you time as it is sometimes also a good PR description. With the current template, I need to cut this test and paste it into the description section (which is really annoying!). - Make a single simpler checklist. Add information as comment and have a straightforward list which helps us remembering the changelog, tests and documentation without needing to invest much time. The changelog bulletpoint will also be used in GitHub Actions.
Request changes in a PR without CHANGELOG update.
`Ana06/[email protected]` is a fork of https://github.com/AndrewMusgrave/automatic-pull-request-review which fixes `DISMISS` and provides an `allow_duplicate` option which allows to only approve once.
Ana06/[email protected] is a fork of https://github.com/jitterbit/get-changed-files, which supports `pull_request_target` and allow to filter files using regular expressions. As we need to use `pull_request_target`, Ana06/[email protected] works, but jitterbit/get-changed-files@v1 doesn't.
This PR includes a proposal to improve the pull request template and a GitHub Action to reject pull requests which don't update the CHANGELOG. The Action dismiss the request once the CHANGELOG has been updated or
No CHANGELOG update needed
has been marked in the PR description.Closes #457
You can see it working here: Ana06#36
Note I needed to fork and release my own versions of
get-changed-files
andautomatic-pull-request-review
. I tried to submited my code upstream, but I didn't get an answer. In case you want to review that code:Checklist