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
PR Template: Add checklist item for changelog #5176
Conversation
- Describe what makes a breaking change - Add section for related PRs - Remove checkbox item related to Changelog
.github/PULL_REQUEST_TEMPLATE.md
Outdated
<!-- | ||
Breaking changes include: | ||
- Changes to the JavaScript API | ||
- Changes to markup or content in our components | ||
- Significant changes to the display of a component | ||
If applicable, explain what actions are required for the user to remediate the break. | ||
--> |
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.
In general, I don't think we should add a Changelog requirement to our PR template, but assure that all the information is there to add one if we need to as part of the release process. To that end, I've added a section on what makes a breaking change...
.github/PULL_REQUEST_TEMPLATE.md
Outdated
## Related pull requests | ||
|
||
_Indicate if there are other pull requests necessary to complete this issue_ | ||
|
||
<!-- | ||
Some changes to the USWDS codebase require a change to the documentation site, and need a pull request in the uswds-site repo. This could include new or updated component documentation, new or updated settings documentation, or changelog entries. Add links to any related PRs in this section. If this change requires an update to the uswds-site repo, but that PR does yet exist, just make sure to note that here. | ||
--> | ||
|
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.
...and I added a new section to either link a related PR (or PRs) for documentation, etc, or at the very least, indicate that it's necessary but not yet done
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 notes, thanks for making these changes!
.github/PULL_REQUEST_TEMPLATE.md
Outdated
<!-- | ||
Some changes to the USWDS codebase require a change to the documentation site, and need a pull request in the uswds-site repo. This could include new or updated component documentation, new or updated settings documentation, or changelog entries. Add links to any related PRs in this section. If this change requires an update to the uswds-site repo, but that PR does yet exist, just make sure to note that here. | ||
--> |
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.
These new additions are great!
One small thing: it would be good to introduce line breaks in these comments to make it more readable in GitHub source. One possibility:
<!-- | |
Some changes to the USWDS codebase require a change to the documentation site, and need a pull request in the uswds-site repo. This could include new or updated component documentation, new or updated settings documentation, or changelog entries. Add links to any related PRs in this section. If this change requires an update to the uswds-site repo, but that PR does yet exist, just make sure to note that here. | |
--> | |
<!-- | |
Some changes to the USWDS codebase require a change to the documentation site, | |
and need a pull request in the uswds-site repo. | |
This could include: | |
1. New or updated component documentation | |
2. New or updated settings documentation, or | |
3. Changelog entries. | |
Add links to any related PRs in this section. | |
If this change requires an update to the uswds-site repo, but that PR does yet exist, | |
just make sure to note that here. | |
--> |
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've added this change in 0d5d451. I've also:
- Changed it to an unordered list to match previous lists
- Added additional new lines for clarity
- Moved text to new line after 80 characters
- Condensed last paragraph
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 additions!
I added a missing period in 1ab8591 and made some suggestions for additional line breaks in this comment. Let me know if you have questions.
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.
Made a few more suggestions for some small changes. Other than that, looks good to me!
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.
This looks good to me! I like that we define breaking changes. Hopefully, users will flag documentation updates when necessary.
Left one suggestion to link to the USWDS-Site repo where it's mentioned but happy about this section either way!
- Fixed spacing - Added link to uswds-site - Add missing word Co-authored-by: Amy Leadem <93996430+amyleadem@users.noreply.github.com> Co-authored-by: mahoneycm <charlie.mahoney@bixal.com>
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.
Looks good!
This PR adds a checklist item to update the changelogs on site to our PR template. Closes #5175.