cisagov / .github

Default community health files for cisagov
Creative Commons Zero v1.0 Universal
6 stars 11 forks source link

Update the pull request template #28

Closed mcdonnnj closed 2 years ago

mcdonnnj commented 2 years ago

๐Ÿ—ฃ Description

This PR updates the pull request template that is used for the organization. The most notable change is moving from a single checklist to a multi-stage set of checklists.

๐Ÿ’ญ Motivation and context

We rarely use the Screenshots section so I believe we should just have it commented out by default over deleting it in the majority of PRs.

We often update the checklist to use a pre-approval/pre-merge/post-merge workflow as we've gotten better about versioning and have had to track dependency modifications needed for testing. This will help encourage that workflow for all pull requests in the future.

๐Ÿงช Testing

Automated tests pass.

โœ… Checklist

hillaryj commented 2 years ago

FYI Line 12 is missing a closing comment marker (it has been for a while, not a new change).

mcdonnnj commented 2 years ago

FYI Line 12 is missing a closing comment marker (it has been for a while, not a new change).

Thanks for mentioning that ^^

mcdonnnj commented 2 years ago

Great improvements!

One thing I would like to see addressed is the octothorpe-wrapped comment at the very top of the PR template. All that line does is add a pointless horizontal line at the top of the PR, which I find maddening. We can't just remove the octothorpes, since then the linters complain that the first heading in the file isn't a first-level heading. We need to do one of the following:

* Add _something_ to that first-level heading, but I can't think of anything meaningful.  The PR title is already handled by the PR web page, so it doesn't make sense to put it there.

* Make the other headings all first-level headings, but that looks terrible.

If nobody has any bright ideas I will just create an issue and we can punt on this one for now.

@jsf9k I have no ideas at present so I created https://github.com/cisagov/.github/issues/31