From 3faad7e9c55978ac88f32d2531a01a65b9f2a39a Mon Sep 17 00:00:00 2001 From: Philippe <2307365+philippe-git@users.noreply.github.com> Date: Wed, 8 May 2024 19:48:25 +0200 Subject: [PATCH] Update pr-checks.yml Make multiple dashes valid in the `assets-blockchainId` slug --- .github/workflows/pr-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index eaa4e770..ed1433da 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -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"