Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Zizmor

# Static analysis of the repo's GitHub Actions workflows (https://zizmor.sh).
# Report-only: the reusable runs in SARIF mode (exit 0 regardless of findings)
# and uploads results to the Security / code-scanning tab, like CodeQL and
# Scorecard. Findings surface as alerts; they never fail CI.

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions: {}

jobs:
zizmor:
uses: netresearch/.github/.github/workflows/zizmor.yml@main
permissions:
contents: read
security-events: write
13 changes: 13 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# zizmor (https://zizmor.sh) configuration
#
# Tunes zizmor to Netresearch conventions so the audit reports only
# actionable findings. Third-party actions remain hash-pin enforced.
rules:
unpinned-uses:
config:
policies:
# First-party reusable workflows track @main by policy and are
# never SHA-pinned, so fixes propagate to all consumers.
"netresearch/*": ref-pin
# Everything else must be pinned to a full commit SHA.
"*": hash-pin
Loading