We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42ab07b commit 8dd9cb4Copy full SHA for 8dd9cb4
.github/workflows/pr-description-validation.yml
@@ -29,6 +29,21 @@ jobs:
29
script: |
30
const pr = context.payload.pull_request;
31
const body = pr.body || '';
32
+
33
+ // List of users to skip description validation
34
+ // This should be automations where we don't care that much about the description format
35
+ const skipUsersPrefixes = [
36
+ 'unity-renovate',
37
+ 'svc-'
38
+ ];
39
40
+ // If PR author is in the skip list, exit early
41
+ const author = pr.user.login;
42
+ console.log(`PR author: ${author}`);
43
+ if (skipUsersPrefixes.some(prefix => author.startsWith(prefix))) {
44
+ console.log(`Skipping PR description check for user: ${author}`);
45
+ return;
46
+ }
47
48
// List of mandatory PR sections
49
const requiredSections = [
0 commit comments