Skip to content

Commit 48f6f54

Browse files
committed
run zizmor during build to prevent regressions
1 parent e888ba3 commit 48f6f54

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/zizmor.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: GitHub Actions Security Analysis with zizmor 🌈
2+
3+
# to upgrade repository actions with a new hash, either manually look up the hash in their releases,
4+
# or run zizmor --fix with the --gh-token parameter to have it fetch those hashes from GitHub.
5+
6+
on:
7+
push:
8+
branches: ["main"]
9+
pull_request:
10+
branches: ["**"]
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
permissions: {}
17+
18+
jobs:
19+
zizmor:
20+
name: Run zizmor 🌈
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
with:
26+
persist-credentials: false
27+
28+
- name: Run zizmor 🌈
29+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2

0 commit comments

Comments
 (0)