Skip to content

Commit d9cb3cd

Browse files
x1101felixfontein
andcommitted
Add Zizmor Scanning of workflows
Bump to test action Update zizmor.yml adding `.github` as an input, per [this update](https://github.com/zizmorcore/zizmor/blob/1c3de9cd6f0dc5c56b726b4e57e7c20bf233776a/.github/workflows/zizmor.yml#L25) Update zizmor.yml Update zizmor.yml Update zizmor.yml renamed Update .github/workflows/scan.yml Applying suggestions based on feedback Co-authored-by: Felix Fontein <felix@fontein.de>
1 parent b2b36f2 commit d9cb3cd

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/scan.yml

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

0 commit comments

Comments
 (0)