Skip to content

chore(github): add pull request template#3044

Merged
rwaskiewicz merged 10 commits intomasterfrom
rwaskiewicz/gh-pr-template
Sep 3, 2021
Merged

chore(github): add pull request template#3044
rwaskiewicz merged 10 commits intomasterfrom
rwaskiewicz/gh-pr-template

Conversation

@rwaskiewicz
Copy link
Copy Markdown
Member

Meta: This is the current shape I have for the PR template. It would apply to both the core stencil team and external contributors, as GH does not have a way to differentiate the two ATM. LMK what yinz think


Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Unit tests (npm test) were run locally and passed
  • E2E Tests (npm run test.karma.prod) were run locally and passed
  • Prettier (npm run format) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe): Adds a template to GH for pull requests. All new PR's will be shown this and folks will expected to fill this out

What is the current behavior?

There is no template, which allows for a greater spread of quality in PR summaries we get

GitHub Issue Number: N/A

What is the new behavior?

  • This template is shown on every new PR

Does this introduce a breaking change?

  • Yes
  • No

Testing

  • N/A, I expect GH to pick this up automatically once it lands

Other information

N/A

@rwaskiewicz rwaskiewicz requested a review from a team September 1, 2021 20:42
- [ ] Build (`npm run build`) was run locally and any changes were pushed
- [ ] Unit tests (`npm test`) were run locally and passed
- [ ] E2E Tests (`npm run test.karma.prod`) were run locally and passed
- [ ] Prettier (`npm run format`) was run locally and passed
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prettier is currently npm run prettier (but I would not be opposed to making it npm run format):
https://github.com/ionic-team/stencil/blob/252415a5cc94cad9ea0a5eddb73bae32d1845c96/package.json#L39

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bah, that's my fault. In a former life I named the script 'format'. Let me change that realllll quick


<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->

Please check the type of change your PR introduces:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A side effect of using a task list here is that all PRs will have "8 of 14 tasks" completed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love it TBH. It looks like that this is up for discussion as a part of the beta for the new Task Lists implementation - I'm seeing feedback on the GitHub feedback board around the very same thing. I really like the suggestion there, hopefully it gets implemented 🤞

I'm open to alternatives too/in the interim. I couldn't find any way to 'opt-out' of the current behavior, other than converting these checkboxes to bulleted lists 😦

Copy link
Copy Markdown
Contributor

@splitinfinities splitinfinities left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is huge! Thank you so much for doing this!!

@rwaskiewicz rwaskiewicz merged commit 6ca5934 into master Sep 3, 2021
@rwaskiewicz rwaskiewicz deleted the rwaskiewicz/gh-pr-template branch September 3, 2021 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants