-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Add PR review checklist #1192
Add PR review checklist #1192
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1192 +/- ##
==========================================
+ Coverage 77.13% 77.71% +0.58%
==========================================
Files 89 91 +2
Lines 5551 5727 +176
==========================================
+ Hits 4282 4451 +169
- Misses 1269 1276 +7
Continue to review full report at Codecov.
|
@harpolea — what items do you think would be sufficient for the PR checklist? I think I remember you discussing this, but can't quite remember! |
@arjunsavel You can find the list that we came up with in the TARDIS google drive. I'll paste it here as well: Before a PR is accepted, it must meet the following criteria:
|
.github/workflows/PR_reviews.yml
Outdated
[ ] If this modifies existing code, then the docs should be updated. If this adds a new feature, additional documentation should be created. \n | ||
[ ] Sphinx and docstrings in the code (in numpydoc format) \n | ||
[ ] Does this conform to PEP 8 and the TARDIS style guidelines? \n |
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.
Where does "TARDIS style guidelines" live - can we add a link to them 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.
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.
Yeah I think we can remove TARDIS style guidelines and perhaps put black
code style (with black hyperlinked).
Also, the action is failing here, but it seems like this is a problem with GitHub Actions permissions for PRs from forks. This should be fixed once it's merged with master. I've gotten something similar working on one of my own repositories. |
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.
@arjunsavel This bot look really good to me. 👍
But I think we need to talk (next Wednesday) about what things we want to add/remove/modify from this, considering ideas we dropped in PR template document today. Besides we also need to lighten up the content in TARDIS PR template since many things will be covered by this bot's checklist.
@epassaro @Jordi5 I would encourage you to look at this - if the bot brings up the checklist, IMO we can remove the checklist altogether from PR template which will help to not mistaken them as to-dos by GH and will also make PR template simpler as other examples we saw today. Let me know what do you guys think? |
Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com>
Per hackathon 7/15 discussion, GH actions currently don't pass secrets necessary for bot comments to PRs made from forks. Will convert to draft for now, but hopefully there'll be some progress on this front w.r.t. GH actions functionality at some point! |
@aribalam This would be a good PR for you to work on during the bonding period. |
@marxwillia Right on it! |
Per hackathon 7/15 discussion, GH actions currently don't pass secrets necessary for bot comments to PRs made from forks. Will convert to draft for now, but hopefully there'll be some progress on this front w.r.t. GH actions functionality at some point!
Description
I'm adding a GitHub workflow file that provides a comment below each PR after it's opened.
Motivation and Context
This fixes #1169 by providing a checklist for reviewers to reference for every opened PR.
How Has This Been Tested?
I've run this successfully on one of my own repos.
Screenshots (if appropriate):
**Per hackathon 7/15 discussion, GH actions currently don't pass secrets necessary for bot comments to PRs made from forks. Will convert to draft for now, but hopefully there'll be some progress on this front w.r.t. GH actions functionality at some point!
Per hackathon 7/15 discussion, GH actions currently don't pass secrets necessary for bot comments to PRs made from forks. Will convert to draft for now, but hopefully there'll be some progress on this front w.r.t. GH actions functionality at some point!
Types of changes
Checklist: