CI: Add zizmor action (#104676)

This commit is contained in:
Sven Grossmann
2025-04-29 13:02:18 +02:00
committed by GitHub
parent 2088df2f87
commit 8f922bf76d
+27
View File
@@ -0,0 +1,27 @@
name: Zizmor GitHub Actions static analysis
on:
pull_request:
paths:
- ".github/**"
push:
branches:
- main
paths:
- ".github/**"
jobs:
zizmor:
name: Analyse with Zizmor
permissions:
actions: read
contents: read
# required to comment on pull requests with the results of the check
pull-requests: write
# required to upload the results to GitHub's code scanning service
security-events: write
uses: grafana/shared-workflows/.github/workflows/reusable-zizmor.yml@main # zizmor: ignore[unpinned-uses]
with:
fail-severity: high
min-severity: high