Skip to content

Commit 3418e07

Browse files
authored
[r3.2] test workflows: user input sanitisation (addendum) (#17299)
1 parent ef7ebd2 commit 3418e07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/backups-dashboards.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ jobs:
3030
environment: dashboards_backups
3131
steps:
3232
- name: Pull backup script from ${{ inputs.TEMPLATE_BRANCH}} branch
33+
env:
34+
TEMPLATE_BRANCH: ${{ inputs.TEMPLATE_BRANCH }}
3335
run: |
3436
set +x
35-
curl -L -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.v3.raw" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/erigontech/scripts/contents/dashboards/dashboard-backup.sh?ref=${{ inputs.TEMPLATE_BRANCH}} -o /tmp/dashboard-backup
37+
curl -L -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.v3.raw" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/erigontech/scripts/contents/dashboards/dashboard-backup.sh?ref=${TEMPLATE_BRANCH} -o /tmp/dashboard-backup
3638
3739
- name: Upload dashboard-backup
3840
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)