Skip to content

Commit 3e53e11

Browse files
authored
chore(ci): adopt zizmor and apply fixen (#280)
1 parent 78d7b66 commit 3e53e11

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "daily"
7+
cooldown:
8+
default-days: 7
79
- package-ecosystem: "github-actions"
810
directory: "/"
911
schedule:
1012
interval: "weekly"
13+
cooldown:
14+
default-days: 7

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches:
55
- main
66
pull_request:
7+
8+
permissions: {}
9+
710
jobs:
811
test:
912
strategy:
@@ -18,6 +21,8 @@ jobs:
1821
steps:
1922
- name: Check out repository
2023
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
with:
25+
persist-credentials: false
2126
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2227
with:
2328
python-version-file: '.python-version'

.github/workflows/zizmor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# https://github.com/woodruffw/zizmor
2+
name: GitHub Actions Security Analysis with Zizmor
3+
4+
on:
5+
push:
6+
branches: ["main"]
7+
pull_request:
8+
branches: ["*"]
9+
10+
jobs:
11+
zizmor:
12+
name: Zizmor
13+
runs-on: ubuntu-24.04
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+
- name: Run zizmor 🌈
22+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2

0 commit comments

Comments
 (0)