Closed burtonr closed 5 years ago
This is not strictly a pr_content_check
(the PR being a series of commits - we don't check them at all, and this doesn't speak to how we check them) - I'd prefer to see this more descriptive such as: pr_description_required
or mandatory_pr_description
.
Alex
I would vote for pr_description_required
as it's best descriptive.
@alexellis This is ready now.
I've updated the feature name to the even better, more descriptive: pr_description_required
I've addressed your comments
I've also got the version of Derek deployed and installed to test end to end on one of my repos.
PR Missing a description:
PR with description:
and finally, a PR with unsigned commits, and no description:
Before this getting merged I would suggest to add pr_description_required
in the .DEREK.yml
file configuration of probably commented out so we know from where to manage this label
@martindekov can we add that after the merge?
Yeah ^ it was just suggestion
Description
This commit adds a new feature for pr_content_check This feature will verify that the incoming PR has something in the description (aka body)
If there is no description, the invalid label will be applied and a comment will be added to the PR with a link to the contributing guide.
Signed-off-by: Burton Rheutan rheutan7@gmail.com
Motivation and Context
How Has This Been Tested?
Unit tests added and passing
Types of changes
Checklist:
git commit -s