Skip to content

Commit

Permalink
chore: double quote the env var
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Oct 8, 2024
1 parent f014b03 commit eaeb9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-convential-commit-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
working-directory: ./amplify-js
run: |
regex=$(./scripts/generate-conventional-commit-regex.sh)
if [[ $PR_TITLE =~ $regex ]]; then
if [[ "$PR_TITLE" =~ $regex ]]; then
echo "✅ PR title '$PR_TITLE' is valid"
exit 0
else
Expand Down

0 comments on commit eaeb9f0

Please sign in to comment.