You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/enforce-pr-template.yml
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ jobs:
90
90
const problems = [];
91
91
92
92
// Basic length check – tune as needed
93
-
if (body.length < 150) {
93
+
if (body.length < 200) {
94
94
problems.push('PR description is too short (expected more content based on the template).');
95
95
}
96
96
@@ -107,6 +107,11 @@ jobs:
107
107
}
108
108
}
109
109
110
+
// Enforce Contribution reading line
111
+
if (!body.includes('I have read the [Contributing Guidelines](https://github.com/Pycord-Development/pycord/blob/master/CONTRIBUTING.md)')) {
112
+
problems.push('The line "I have read the [Contributing Guidelines](https://github.com/Pycord-Development/pycord/blob/master/CONTRIBUTING.md)" is missing.');
113
+
}
114
+
110
115
// Enforce AI disclosure line
111
116
if (!body.includes('AI Usage has been disclosed')) {
112
117
problems.push('The line "AI Usage has been disclosed." is missing.');
0 commit comments