Skip to content

Commit e6dade0

Browse files
authored
Add zizmor GitHub Actions workflow for CI security analysis (#678)
1 parent 3e54be0 commit e6dade0

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ updates:
1010
update-types:
1111
- "minor"
1212
- "patch"
13+
cooldown:
14+
default-days: 7
1315
- package-ecosystem: "gradle"
1416
directory: "/codegen"
1517
schedule:
@@ -20,6 +22,8 @@ updates:
2022
update-types:
2123
- "minor"
2224
- "patch"
25+
cooldown:
26+
default-days: 7
2327
- package-ecosystem: "github-actions"
2428
directory: "/"
2529
schedule:
@@ -30,3 +34,5 @@ updates:
3034
update-types:
3135
- "minor"
3236
- "patch"
37+
cooldown:
38+
default-days: 7

.github/workflows/zizmor.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: GitHub Actions Security Analysis with zizmor 🌈
2+
3+
on:
4+
push:
5+
branches: ["develop"]
6+
pull_request:
7+
branches: ["develop"]
8+
9+
permissions: {}
10+
11+
jobs:
12+
zizmor:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
security-events: write
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
persist-credentials: false
21+
22+
- name: Run zizmor 🌈
23+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2

0 commit comments

Comments
 (0)