Skip to content
Merged
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
36 changes: 36 additions & 0 deletions .github/workflows/security-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Security Analysis (zizmor)

on:
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: read # Required to read the code for analysis

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
security-analysis:
name: Run Zizmor Security Analysis
runs-on: ubuntu-latest
permissions:
security-events: write # Required to create security events from the analysis results
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
fetch-depth: 0
- name: Run zizmor security analysis
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
with:
inputs: .github/workflows/*.yml # Don't specify just the folder. Otherwise, it won't load the preview in the results
token: ${{ secrets.GITHUB_TOKEN }}
min-severity: low
min-confidence: low
persona: auditor