Skip to content

Commit 9242fb9

Browse files
committed
zizmor workflow
Signed-off-by: CrazyMax <[email protected]>
1 parent 78126ab commit 9242fb9

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

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

.github/zizmor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://docs.zizmor.sh/configuration/
2+
rules:
3+
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
4+
disable: true

0 commit comments

Comments
 (0)