Skip to content

Commit 2f5fc55

Browse files
tim-schillingcunla
andauthored
Add zizmor for GHA security analysis (#13)
* Add zizmor for GHA security analysis Code sourced from https://docs.zizmor.sh/integrations/#github-actions * Update .github/workflows/zizmor.yml Co-authored-by: Tim Schilling <[email protected]> --------- Co-authored-by: Daniel M <[email protected]>
1 parent ddf59aa commit 2f5fc55

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/zizmor.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: GitHub Actions Security Analysis with zizmor 🌈
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
paths:
7+
- '.github/**'
8+
pull_request:
9+
paths:
10+
- '.github/**'
11+
12+
permissions: {}
13+
14+
jobs:
15+
zizmor:
16+
name: Run zizmor 🌈
17+
runs-on: ubuntu-latest
18+
permissions:
19+
security-events: write
20+
contents: read # only needed for private repos
21+
actions: read # only needed for private repos
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+
with:
26+
persist-credentials: false
27+
28+
- name: Run zizmor 🌈
29+
uses: zizmorcore/zizmor-action@e673c3917a1aef3c65c972347ed84ccd013ecda4 # v0.2.0
30+

0 commit comments

Comments
 (0)