Skip to content

Commit

Permalink
chore: fix artifact workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yashasvibajpai committed Sep 20, 2024
1 parent 8917d30 commit 147ffdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-pr-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
# Perform input validation here
# For example, check for forbidden characters
if [[ "${{ github.head_ref }}" =~ [^a-zA-Z0-9._-] ]]; then
if [[ "${{ github.head_ref }}" =~ [^a-zA-Z0-9._-/] ]]; then
echo "Error: Branch name contains invalid characters."
exit 1
fi
Expand Down

0 comments on commit 147ffdb

Please sign in to comment.