Skip to content

Commit 80529ef

Browse files
authored
Add zizmor workflow (#48)
Uses zizmor via GitHub Action as recommended: https://docs.zizmor.sh/integrations/#via-zizmorcorezizmor-action Use GitHub Action with Github Advanced Security as recommended: https://github.com/zizmorcore/zizmor-action#usage-with-github-advanced-security-recommended Workflow file is copied from the zizmor action docs and adapted for our use case. Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
1 parent 1a37fe8 commit 80529ef

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
11+
jobs:
12+
zizmor:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
security-events: write
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
persist-credentials: false
21+
22+
- name: Run zizmor 🌈
23+
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6

0 commit comments

Comments
 (0)