-
Notifications
You must be signed in to change notification settings - Fork 12
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
Ensure Changelog is updated with every PR. #537
Conversation
c472b28
to
bae9622
Compare
regression tests failing can be ignored. Test workflow for changelog works correctly. |
Definitely a great idea to automate the check! Are you thinking to leave it to the discretion of the maintainer if it's appropriate to ignore the check? (e.g. a typo fix) |
Currently this would be the case, but I am also not so happy about the current implementation at the moment. I also thought about adding a separate workflow i.e. "chores" and incl. isort, black, license header and changelog in there. This would be much cleaner and easier to quickly check for the maintainer as well. |
c85c6c6
to
d7c4396
Compare
I did some refactoring:
The maintainer would now only need to check why chores fail, i.e. because of no updates to changelog. |
d7c4396
to
614ac2c
Compare
@michaeldeistler thoughts? |
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.
Sorry, I had missed this one. I like the idea!
I also like the suggestion of @ntolley to make updating the changelog part of PRs. To avoid having to remind contributors on every PR this could be enforced via github actions. I wrote a little check to do this.
(Quick test: changelog not updated -> tests should fail)