Skip to content

Commit b05015c

Browse files
committed
Fix story link check regex
1 parent ed2758f commit b05015c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/story_link_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
link="$1"
44

5-
story_regex="https:\/\/app.shortcut.com\/simpledotorg\/story\/[0-9]+(?:\/.*)?\$"
5+
story_regex="https:\/\/app.shortcut.com\/simpledotorg\/story\/[0-9]+(\/.*)?"
66

77
if [[ "$link" =~ $story_regex ]]; then
88
echo "PR description contains a valid story link."

0 commit comments

Comments
 (0)