mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-08 09:17:08 +00:00
[StepSecurity] Remediate token permission, and unpinned dependencies security issues in .github/workflows/canary.yml
This commit is contained in:
parent
7d3610100d
commit
a6ca77cb04
1 changed files with 4 additions and 1 deletions
5
.github/workflows/canary.yml
vendored
5
.github/workflows/canary.yml
vendored
|
|
@ -12,6 +12,9 @@ defaults:
|
|||
run:
|
||||
shell: pwsh
|
||||
|
||||
permissions: # added using https://github.com/step-security/secure-workflows
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
update_tag:
|
||||
name: Update the rc tag to ${{ github.event.inputs.COMMIT_SHA }} commit
|
||||
|
|
@ -33,7 +36,7 @@ jobs:
|
|||
rc: true
|
||||
|
||||
- name: Canary test
|
||||
uses: docker://ghcr.io/step-security/integration-test/int:latest
|
||||
uses: docker://ghcr.io/step-security/integration-test/int@sha256:a0e71f0f02a1298be8e34914f4d28df8e43275e63921faa4ee629822b376bd02 # latest
|
||||
env:
|
||||
PAT: ${{ secrets.PAT }}
|
||||
canary: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue