Skip to content

Commit 44622b6

Browse files
committed
GHA: scan GitHub Actions workflows with zizmor
1 parent 9f6bb39 commit 44622b6

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/run-zizmor.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# See https://github.com/kaitai-io/.github/blob/0bf3b93ceb1d254f5b3333eb9b7c40d92fcef16e/.github/workflows/self-zizmor.yml
2+
name: GitHub Actions security analysis with zizmor
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request: {}
9+
10+
permissions: {}
11+
12+
jobs:
13+
zizmor:
14+
uses: kaitai-io/.github/.github/workflows/zizmor.yml@main # zizmor: ignore[unpinned-uses]
15+
permissions:
16+
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
17+
contents: read # Only needed for private repos. Needed to clone the repo.
18+
actions: read # Only needed for private repos. Needed for upload-sarif to read workflow run info.

0 commit comments

Comments
 (0)