Skip to content

Commit d2ab1e7

Browse files
committed
zizmor workflow
1 parent aabbfb3 commit d2ab1e7

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
- 'master'
15+
- 'releases/v*'
16+
pull_request:
17+
18+
jobs:
19+
run:
20+
uses: crazy-max/.github/.github/workflows/zizmor.yml@bbd31df64ee0f097a02f12495f541f9236f18c46 # v1.2.0
21+
permissions:
22+
contents: read
23+
security-events: write
24+
with:
25+
min-severity: medium
26+
min-confidence: medium
27+
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:
4+
disable: true

0 commit comments

Comments
 (0)