Skip to content

Commit e8b4e2a

Browse files
chore(zizmor): restore pilot self-zizmor from closed #146 (#326)
Re-apply reusable workflow pin to isaiah-grafana/shared-workflows@ca9579c and fail-severity critical for ruleset pilot testing (same as pre-close branch).
1 parent d224d87 commit e8b4e2a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/self-zizmor.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,15 @@ jobs:
4545
- zizmor-check
4646
if: ${{ needs.zizmor-check.outputs.found-files == 'true' }}
4747

48-
uses: grafana/shared-workflows/.github/workflows/reusable-zizmor.yml@5cec40ba1a943db268a9bb33f208c006b161d372
48+
# Testing security-appsec#326: reusable with optional .github/zizmor-collection-ignore. Point org rulesets at
49+
# branch test/zizmor-vendor-excludes-326 to validate; replace with grafana/shared-workflows@<merge SHA> for main.
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
4952
with:
5053
runs-on: ${{ !github.event.repository.private && 'ubuntu-latest' || 'ubuntu-arm64-small' }}
51-
fail-severity: high
54+
# Pilot branch: only fail on critical so high-severity zizmor findings do not block ruleset/PR testing (#326).
55+
# Revert to high when swapping uses: back to grafana/shared-workflows@<merge SHA> on main.
56+
fail-severity: critical
5257
min-severity: high
5358
min-confidence: low
5459
extra-args: --offline

0 commit comments

Comments
 (0)