CI: Add zizmor action (#104676)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user