Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…oblemset into 26A
  • Loading branch information
seikhchilli committed May 3, 2024
2 parents 7f5781d + 988dfcf commit 0b9a889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CheckFileNames.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

jobs:
update-readme:
checkFileName:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,7 +21,7 @@ jobs:
echo "$CHANGED_FILES"
for file in $CHANGED_FILES; do
if [[ ! ($file =~ ^\d+[A-Z]\.(cpp|py)$) ]]; then
if [[ ! ($file =~ ^[0-9]+[A-Z]\.(cpp|py)$) ]]; then
echo "Error: File '$file' does not match allowed pattern"
exit 1
fi
Expand Down

0 comments on commit 0b9a889

Please sign in to comment.