Skip to content

Commit f6c0e2d

Browse files
committed
ci: zizmor workflow
Signed-off-by: CrazyMax <[email protected]>
1 parent 9753a76 commit f6c0e2d

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: zizmor
2+
3+
permissions:
4+
contents: read
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
on:
11+
workflow_dispatch:
12+
push:
13+
branches:
14+
- 'master'
15+
- 'releases/v*'
16+
tags:
17+
- 'v*'
18+
pull_request:
19+
20+
jobs:
21+
zizmor:
22+
uses: crazy-max/.github/.github/workflows/zizmor.yml@bb328ea508cd6a89d0865555ddbeb148e5724aed # v1.3.0
23+
permissions:
24+
contents: read
25+
security-events: write
26+
with:
27+
min-severity: medium
28+
min-confidence: medium
29+
persona: pedantic

.github/zizmor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rules:
2+
secrets-outside-env: # FIXME: remove this rule when zizmor 1.24.0 is released, fixing the right persona attached to this rule: https://github.com/zizmorcore/zizmor/pull/1783
3+
disable: true

0 commit comments

Comments
 (0)