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 7c39ec7 commit b22ae67Copy full SHA for b22ae67
.github/workflows/validate.yml
@@ -64,6 +64,7 @@ jobs:
64
const checkbox2 = /\[x\].*?I have read and accepted/i.test(body);
65
66
// 2. URL must be on the exact "The site content can be seen at ..." line
67
+ // https://regex101.com/r/N36fsT
68
const urlLineRegex = /^[ \t]*-[ \t]*The site content can be seen at[ \t]+(?:<)?(?:\[.*?\]\()?https?:\/\/[^\s>()]+(?:\))?(?:>)?/m;
69
const urlMatch = urlLineRegex.exec(body);
70
const urlValid = urlMatch !== null;
0 commit comments