Skip to content

Commit b053a1e

Browse files
2 parents 1dd1ba7 + 6667579 commit b053a1e

7 files changed

Lines changed: 4051 additions & 80 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Zizmor
2+
3+
permissions: {}
4+
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
types: [opened, synchronize]
9+
paths:
10+
- ".github/workflows/**"
11+
push:
12+
branches:
13+
- main
14+
paths:
15+
- ".github/workflows/**"
16+
17+
jobs:
18+
zizmor:
19+
name: zizmor
20+
runs-on: ubuntu-latest
21+
permissions:
22+
security-events: write
23+
steps:
24+
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
25+
26+
- uses: taiki-e/install-action@86c23eed46c17b80677df6d8151545ce3e236c61 # v2.50.7
27+
with:
28+
tool: zizmor
29+
30+
- name: Run zizmor
31+
run: zizmor --format sarif . > results.sarif
32+
env:
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: Upload SARIF file
36+
uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
37+
with:
38+
sarif_file: results.sarif
39+
category: zizmor

0 commit comments

Comments
 (0)