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 4ffe420 commit 7c39ec7Copy full SHA for 7c39ec7
.github/workflows/validate.yml
@@ -64,7 +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
- const urlLineRegex = /^[ \t]*-[ \t]*The site content can be seen at[ \t]+(https?:\/\/[^\s]+)/m;
+ const urlLineRegex = /^[ \t]*-[ \t]*The site content can be seen at[ \t]+(?:<)?(?:\[.*?\]\()?https?:\/\/[^\s>()]+(?:\))?(?:>)?/m;
68
const urlMatch = urlLineRegex.exec(body);
69
const urlValid = urlMatch !== null;
70
0 commit comments