Skip to content

Commit 1e1d7c8

Browse files
committed
tidy #7 [CI] Add Zizmor GitHub Actions security scanning (Kocal)
This PR was merged into the main branch. Discussion ---------- [CI] Add Zizmor GitHub Actions security scanning | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to open an issue if none exists, explain below instead --> | License | MIT <!-- Replace this notice with a description of your feature or bugfix. This helps reviewers and is a good starting point for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against the main branch. - Update or add documentation as required (we can help!). - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 8ede04b [CI] Add Zizmor GitHub Actions security scanning
2 parents 54bb0e0 + 8ede04b commit 1e1d7c8

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/zizmor.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Zizmor GitHub Actions security analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
permissions: {}
12+
13+
jobs:
14+
zizmor:
15+
name: Run Zizmor
16+
runs-on: ubuntu-latest
17+
permissions:
18+
security-events: write # Required for zizmor-action to upload the SARIF report.
19+
contents: read # Needed to clone the repo (private repos).
20+
actions: read # Needed for upload-sarif to read workflow run info (private repos).
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
24+
with:
25+
persist-credentials: false
26+
- name: Run Zizmor
27+
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7

0 commit comments

Comments
 (0)