We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9777f3c commit da172f7Copy full SHA for da172f7
.github/workflows/pr-body-validation.yml
@@ -45,7 +45,7 @@ jobs:
45
}
46
47
// Check for issue links
48
- const issueRegex = /(closes|related to)\s+#\d+/i;
+ const issueRegex = /\b(?:(?:close[sd]?|fix(?:e[sd])?|resolve[sd]?))\s+(?:#\d+|https:\/\/github\.com\/[^\/\s]+\/[^\/\s]+\/issues\/\d+)/i;
49
if (!issueRegex.test(prBody)) {
50
missingItems.push('issue reference');
51
0 commit comments