We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7554bac commit d17f290Copy full SHA for d17f290
dangerfile.ts
@@ -27,7 +27,10 @@ function rules() {
27
);
28
} else {
29
// Remind people to add some details to the description, 200 accounts for roughly a sentence more than the standard template headers.
30
- if (pr.body.length < 200) {
+ if (pr.body.includes('Thank you!') && pr.body.length < 200) {
31
+ fail('Please add some non-placeholder details to the PR description.');
32
+ } else if (pr.body.length < 80) {
33
+ // if not using the template
34
fail('Please add some non-placeholder details to the PR description.');
35
}
36
0 commit comments