Skip to content

Commit

Permalink
Merge pull request from GHSA-r3gv-6fw7-hc52
Browse files Browse the repository at this point in the history
Fix CI command injection vulnerability
  • Loading branch information
TobiGr authored Apr 27, 2023
2 parents da30e53 + 43b0167 commit ed17811
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
- name: create and checkout branch
# push events already checked out the branch
if: github.event_name == 'pull_request'
run: git checkout -B ${{ github.head_ref }}
env:
BRANCH: ${{ github.head_ref }}
run: git checkout -B "$BRANCH"

- name: set up JDK 17
uses: actions/setup-java@v3
Expand Down

0 comments on commit ed17811

Please sign in to comment.