Skip to content

Commit 2e1b08f

Browse files
committed
Move zizmor check into its own workflow
1 parent 6cef1e6 commit 2e1b08f

2 files changed

Lines changed: 25 additions & 13 deletions

File tree

.github/workflows/build_and_test.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ concurrency:
99
permissions: {}
1010

1111
jobs:
12-
zizmor:
13-
permissions:
14-
security-events: write # Needed to upload findings as code scanning results.
15-
runs-on: ubuntu-latest
16-
steps:
17-
- uses: actions/checkout@v6
18-
with:
19-
persist-credentials: false
20-
- name: Run zizmor 🌈
21-
uses: zizmorcore/zizmor-action@a16621b09c6db4281f81a93cb393b05dcd7b7165 # v0.5.5
22-
with:
23-
persona: pedantic
24-
2512
build:
2613
name: Build and test
2714
runs-on: macos-latest

.github/workflows/zizmor.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: GitHub Actions Security Analysis with zizmor 🌈
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["**"]
8+
9+
permissions: {}
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
13+
jobs:
14+
zizmor:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
security-events: write # Needed to upload findings as code scanning results.
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v6
21+
with:
22+
persist-credentials: false
23+
24+
- name: Run zizmor 🌈
25+
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6

0 commit comments

Comments
 (0)