Skip to content

Commit b22ae67

Browse files
raman976MattIPv4
andauthored
Update .github/workflows/validate.yml
Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
1 parent 7c39ec7 commit b22ae67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
const checkbox2 = /\[x\].*?I have read and accepted/i.test(body);
6565
6666
// 2. URL must be on the exact "The site content can be seen at ..." line
67+
// https://regex101.com/r/N36fsT
6768
const urlLineRegex = /^[ \t]*-[ \t]*The site content can be seen at[ \t]+(?:<)?(?:\[.*?\]\()?https?:\/\/[^\s>()]+(?:\))?(?:>)?/m;
6869
const urlMatch = urlLineRegex.exec(body);
6970
const urlValid = urlMatch !== null;

0 commit comments

Comments
 (0)