Skip to content

Commit c473416

Browse files
committed
chore(gha): move zizmor into ci workflow
1 parent 79ef7f4 commit c473416

2 files changed

Lines changed: 16 additions & 25 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ on:
99
branches: ["main"]
1010

1111
jobs:
12+
zizmor:
13+
name: zizmor
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18+
with:
19+
persist-credentials: false
20+
21+
- name: Run zizmor
22+
uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0
23+
with:
24+
advanced-security: false # Fail the job on findings instead of uploading SARIF.
25+
annotations: true
26+
1227
ci:
1328
name: CI
1429
runs-on: ubuntu-latest
@@ -47,7 +62,7 @@ jobs:
4762
name: CD
4863
runs-on: ubuntu-latest
4964
if: ${{ github.ref_name == 'main' }}
50-
needs: [ci]
65+
needs: [ci, zizmor]
5166
permissions:
5267
contents: write
5368
steps:

‎.github/workflows/zizmor.yaml‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)