Skip to content

Commit

Permalink
fix: mitigated script injection in test install action (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindell authored Oct 28, 2023
1 parent f893e91 commit f77ef91
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ jobs:
- name: Install multi-gitter
env:
BINDIR: ${{ github.workspace }}/bin
FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
REF: ${{ github.head_ref }}
run: |
curl -s https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.head_ref }}/install.sh | sh -s -- -d
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
curl -s https://raw.githubusercontent.com/$FULL_NAME/$REF/install.sh | sh -s -- -d
echo "$BINDIR" >> $GITHUB_PATH
shell: sh
- name: Print version
run: multi-gitter version
Expand Down

0 comments on commit f77ef91

Please sign in to comment.