Skip to content

Commit

Permalink
Double quoted variables to prevent globbing and word splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
JayShortway committed Oct 15, 2024
1 parent 0cbd85b commit 8b8fb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trigger_all_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#cli-tools

- id: 'get-branch' # the id here is important since it gets reused in the next step
run: echo "branch=$(gh pr view $PR_NO --repo $REPO --json headRefName --jq '.headRefName')" >> "$GITHUB_OUTPUT"
run: echo "branch=$(gh pr view "$PR_NO" --repo "$REPO" --json headRefName --jq '.headRefName')" >> "$GITHUB_OUTPUT"
env:
REPO: ${{ github.repository }}
PR_NO: ${{ github.event.issue.number }}
Expand Down

0 comments on commit 8b8fb93

Please sign in to comment.