Skip to content

Commit 5bded60

Browse files
committed
ci: add zizmor workflow
Let's at least be aware of GitHub Actions issues.
1 parent d0d382a commit 5bded60

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
push:
3+
branches: [ "main" ]
4+
pull_request:
5+
branches: [ "**" ]
6+
7+
permissions: { }
8+
9+
jobs:
10+
zizmor:
11+
name: Run zizmor 🌈
12+
runs-on: ubuntu-latest
13+
permissions:
14+
security-events: write
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+
with:
19+
persist-credentials: false
20+
21+
- name: Run zizmor 🌈
22+
uses: zizmorcore/zizmor-action@5ca5fc7a4779c5263a3ffa0e1f693009994446d1 # v0.1.2

.github/zizmor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
rules:
2+
unpinned-uses:
3+
config:
4+
policies:
5+
"*": hash-pin

0 commit comments

Comments
 (0)