1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
Olivier 'reivilibre
6031346d9a Newsfile
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>
2025-03-19 12:12:09 +00:00
Olivier 'reivilibre
207fdaf803 Add CI workflow to run Zizmor to check for GitHub Actions security issues 2025-03-19 12:10:55 +00:00
2 changed files with 44 additions and 0 deletions

43
.github/workflows/zizmor.yaml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: GitHub Actions security check (zizmor)
on:
push:
branches: ["main"]
paths:
- .github/workflows/**
pull_request:
branches: ["**"]
paths:
- .github/workflows/**
jobs:
zizmor:
name: zizmor latest via PyPI
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read # only needed for private repos
actions: read # only needed for private repos
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
- name: Run zizmor
run: uvx zizmor --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
category: zizmor

1
changelog.d/18256.misc Normal file
View File

@@ -0,0 +1 @@
Add Zizmor check in CI to check the CI configuration for security problems.