-
Notifications
You must be signed in to change notification settings - Fork 114
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
feat(git-node): add support for auto-fill Notable Changes section #881
base: main
Are you sure you want to change the base?
Conversation
Allows PR author (or repo maintainers) to define themselves the Notable Change using a `<details>` section in the PR description.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #881 +/- ##
=======================================
Coverage 80.08% 80.08%
=======================================
Files 39 39
Lines 4676 4676
=======================================
Hits 3745 3745
Misses 931 931 ☔ View full report in Codecov by Sentry. |
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.
I haven't reviewed the regex patterns
Have you considered my suggestion in nodejs/Release#1068 (comment) i.e. require every PR to conform to a template, and then when a PR is labeled notable-change, part of the templated section would be chosen to be part of the release announcement? I think that would make it easier to guide PR authors to write good PR descriptions and reduce the hassle needed after a PR is labeled. The |
What I imagine as a next step is to update the |
That would still mean a hassle for PR authors once it's labeled notable-change, no? If we make the section generic enough to be part of the PR template for all PRs, then the author generally don't have to do anything more after it's labeled notable-change. They can just put the summary in the templated section as soon as the PR is opened and forget about it. That might eliminate the need of the bot all together, too, though it doesn't hurt to keep it to emphasize it again. That is to say, if we want to introduce a format for the PR description, it's better to think about what a good PR description for all PRs should look like, instead of only focusing on what's convenient for the releasers and ignore all the other PRs that are not notable changes, even though it's just a matter of one label between notable-change PRs and the others. PR description format should cater to human readers, first and foremost, no matter they are notable or not, and the automation can just adapt to a format that's pleasing to human readers, which is what we have been doing with e.g. the collaborator email parsing code here as well. |
Allows PR author (or repo maintainers) to define themselves the Notable Change using a
<details>
section in the PR description.We should also update the workflow that comments when the label is added to add the instructions.
Fixes: nodejs/Release#1068