Skip to content

Commit 9782e31

Browse files
fix(security): pin reusable-zizmor to fork SHA for code scanning
Code scanning flagged unpinned reusable workflow (branch ref). Pin isaiah-grafana/shared-workflows reusable to commit ca9579cb3a5b072b4f75af091380536c01131610.
1 parent f44fc9a commit 9782e31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/self-zizmor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747

4848
# Testing security-appsec#326: reusable with optional .github/zizmor-collection-ignore. Point org rulesets at
4949
# branch test/zizmor-vendor-excludes-326 to validate; replace with grafana/shared-workflows@<merge SHA> for main.
50-
# Pin to fork branch (moves with pushes) for pre-merge testing; switch back to @<SHA> for reproducible runs.
51-
uses: isaiah-grafana/shared-workflows/.github/workflows/reusable-zizmor.yml@feat/zizmor-vendor-excludes-326
50+
# Pinned to fork SHA (not a branch ref) to satisfy code scanning unpinned-reusable-workflow rules; bump when testing new commits.
51+
uses: isaiah-grafana/shared-workflows/.github/workflows/reusable-zizmor.yml@ca9579cb3a5b072b4f75af091380536c01131610
5252
with:
5353
runs-on: ${{ !github.event.repository.private && 'ubuntu-latest' || 'ubuntu-arm64-small' }}
5454
# Pilot branch: only fail on critical so high-severity zizmor findings do not block ruleset/PR testing (#326).

0 commit comments

Comments
 (0)