From 3f3dcbda6e8f0f63503201abe789c87c3165bbe2 Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Date: Fri, 3 May 2024 20:18:51 +0530 Subject: [PATCH] update readme --- .github/workflows/UpdateReadmeOnPush.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/UpdateReadmeOnPush.yml b/.github/workflows/UpdateReadmeOnPush.yml index faaed80..fb25a86 100644 --- a/.github/workflows/UpdateReadmeOnPush.yml +++ b/.github/workflows/UpdateReadmeOnPush.yml @@ -36,7 +36,7 @@ jobs: run: | changed_files=${{ steps.verify-changes.outputs.changed_files }} for file in $changed_files; do - if [[ ! ($file =~ ^\d[A-Z]\.(cpp|py)$) ]]; then + if [[ ! ($file =~ ^\d+[A-Z]\.(cpp|py)$) ]]; then echo "Error: File '$file' does not match allowed pattern" exit 1 fi