Skip to content

Commit 5b72cef

Browse files
committed
Fix release provenance authentication
1 parent 10a4097 commit 5b72cef

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish-port-preflight-runtime-patch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ jobs:
110110
111111
- name: Verify scanner and enforce image security gates
112112
shell: bash
113+
env:
114+
GH_TOKEN: ${{ github.token }}
113115
run: |
114116
set -Eeuo pipefail
115117
trivy_version=0.73.0

scripts/check-server-port-preflight-runtime-patch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ for marker in \
9494
'id-token: write' \
9595
'attestations: write' \
9696
'artifact-metadata: write' \
97+
'GH_TOKEN: ${{ github.token }}' \
9798
'trivy_version=0.73.0' \
9899
'trivy_sha256=2edd39da482bb4e9831962487b68f68e3928ec3137794757f54d00383d79547b' \
99100
'--scanners vuln,secret' \

0 commit comments

Comments
 (0)