Skip to content

Commit

Permalink
fix: prevent shell-injections (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Dec 6, 2024
1 parent a238245 commit 11ba620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ runs:
shell: bash -leo pipefail {0}
run: |
# checkout PR if running on an issue
gh pr checkout ${{ github.event.issue.number }}
gh pr checkout '${{ github.event.issue.number }}'
env:
GH_TOKEN: ${{ inputs.github-token }}

Expand Down Expand Up @@ -231,7 +231,7 @@ runs:
shell: bash -leo pipefail {0}
run: |
# automerge
gh pr merge --merge --auto "${{ steps.pr.outputs.pull-request-number }}"
gh pr merge --merge --auto '${{ steps.pr.outputs.pull-request-number }}'
env:
GH_TOKEN: ${{ inputs.github-token }}

Expand Down

0 comments on commit 11ba620

Please sign in to comment.