Skip to content

Commit a1fb4f2

Browse files
committed
actions: add zizmor check in CI
1 parent 651972b commit a1fb4f2

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Zizmor
2+
3+
on: [pull_request, push]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
permissions: {}
10+
11+
jobs:
12+
zizmor:
13+
name: Audit GitHub Actions
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
with:
21+
persist-credentials: false
22+
23+
- name: Run zizmor
24+
uses: zizmorcore/zizmor-action@e639db99335bc9038abc0e066dfcd72e23d26fb4 # v0.3.0
25+
with:
26+
advanced-security: false
27+
annotations: true
28+
persona: auditor
29+
inputs: .github/workflows/

0 commit comments

Comments
 (0)