mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 22:51:18 +08:00
chore: only match repo links for GitHub in action
This commit is contained in:
2
.github/workflows/check-repro.yml
vendored
2
.github/workflows/check-repro.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
? context.payload.comment.body
|
||||
: context.payload.issue.body
|
||||
|
||||
if (!/https?:\/\/((github\.com\/[^/]+\/[^/]+)|(snack\.expo\.io\/.+))/gm.test(body)) {
|
||||
if (!/https?:\/\/((github\.com\/[^/]+\/[^/]+\/?[\s\n]+)|(snack\.expo\.io\/.+))/gm.test(body)) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user