[Documentation:Developer] Add PR Template Warning#12342
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12342 +/- ##
=========================================
Coverage 21.67% 21.67%
Complexity 9620 9620
=========================================
Files 268 268
Lines 36164 36164
Branches 486 486
=========================================
Hits 7837 7837
Misses 27845 27845
Partials 482 482
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
I think this is a good move, and personally I agree with your idea of adding a line about PRs that do not comply being closed. |
How's this? |
Rkoester47
left a comment
There was a problem hiding this comment.
I think it looks good!
|
I agree with these comments added to the template. On a side note, would it be worth adding a CI job that checks the description when the PR is created to see if it contains the template headers ? |
Yes, I think it would be worth it. There are outside cases where some of the headers aren't necessary (like this PR), but the creator can just write "N/A" or something. |
|
Also, what do you all think about changing What steps should a reviewer take to reproduce or test the bug or new feature?to What steps should a reviewer take to test this change?It's a small change that isn't really related to this PR, but I think it sounds better. |
That would be better. You could also change it to something like: What steps should a reviewer take to reproduce the bug or test the new feature? |
1. Delete comment comment 2. Shortened length of lines 3. CI/CD -> CI
Why is this Change Important & Necessary?
Recently, we have been getting an influx of pull requests that do not comply with Submitty's conventions. This leads to a drawn out review process as we have to wait for contributors to update their PR before we can even review it.
What is the New Behavior?
Added the following to the top of our pull request description template:
Automated Testing & Documentation
We should add more documentation tests that check if comments have been deleted, and verify that the template headers are within the description.
What steps should a reviewer take to reproduce or test the bug or new feature?
Is this change sufficient? Should I add/remove anything?