Skip to content

Commit 5d643aa

Browse files
committed
zizmor workflow
1 parent 2894119 commit 5d643aa

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+
- 'master'
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:
4+
disable: true

0 commit comments

Comments
 (0)