Skip to content

Commit

Permalink
Update pr-checks.yml
Browse files Browse the repository at this point in the history
Make multiple dashes valid in the `assets-blockchainId` slug
  • Loading branch information
philippe-git authored May 8, 2024
1 parent 956b8c9 commit 3faad7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
errorOutputText="- Error with \`$file\`: $errorText"
echo "::error file=$file::$errorText"
echo "$errorOutputText" >> $GITHUB_OUTPUT
elif [[ ! $file =~ ^images/assets(-[a-z]+)?/[a-z0-9]+\.png$ ]] ;
elif [[ ! $file =~ ^images/assets(-[a-z]+)*/[a-z0-9]+\.png$ ]] ;
then
errorText="The new icon's filename must be entirely lowercase"
errorOutputText="- Error with \`$file\`: $errorText"
Expand Down

0 comments on commit 3faad7e

Please sign in to comment.