From 8f922bf76d64a937542ffc14280f7185cc6ba4e3 Mon Sep 17 00:00:00 2001 From: Sven Grossmann Date: Tue, 29 Apr 2025 13:02:18 +0200 Subject: [PATCH] CI: Add `zizmor` action (#104676) --- .github/workflows/zizmor.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/zizmor.yml diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml new file mode 100644 index 00000000000..ff42e451797 --- /dev/null +++ b/.github/workflows/zizmor.yml @@ -0,0 +1,27 @@ +name: Zizmor GitHub Actions static analysis +on: + pull_request: + paths: + - ".github/**" + push: + branches: + - main + paths: + - ".github/**" + +jobs: + zizmor: + name: Analyse with Zizmor + + permissions: + actions: read + contents: read + # required to comment on pull requests with the results of the check + pull-requests: write + # required to upload the results to GitHub's code scanning service + security-events: write + + uses: grafana/shared-workflows/.github/workflows/reusable-zizmor.yml@main # zizmor: ignore[unpinned-uses] + with: + fail-severity: high + min-severity: high \ No newline at end of file