From d72058eb8f6535b2b3c53b272c25f502346dfed7 Mon Sep 17 00:00:00 2001 From: Maarten Bruna <14947039+ictbeheer@users.noreply.github.com> Date: Mon, 3 Aug 2026 11:06:05 +0200 Subject: [PATCH 1/4] feat: add zizmor --- .github/workflows/zizmor.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 0000000..ea11434 --- /dev/null +++ b/.github/workflows/zizmor.yml @@ -0,0 +1,25 @@ +name: GitHub Actions Security Analysis with zizmor 🌈 + +on: + push: + branches: ["main"] + paths: + - ./github.**.yml + - ./**/action.yml + pull_request: + paths: + - ./github.**.yml + - ./**/action.yml +jobs: + zizmor: + runs-on: ubuntu-latest + permissions: + security-events: write + steps: + - name: Checkout repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Run zizmor 🌈 + uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2 \ No newline at end of file From 3572473af9a490d7aaa30699384b440c60e8dc4f Mon Sep 17 00:00:00 2001 From: Maarten Bruna <14947039+ictbeheer@users.noreply.github.com> Date: Mon, 3 Aug 2026 11:08:11 +0200 Subject: [PATCH 2/4] fix: correct path --- .github/workflows/zizmor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index ea11434..c1dc756 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -4,11 +4,11 @@ on: push: branches: ["main"] paths: - - ./github.**.yml + - ./.github/workflows/*.yml - ./**/action.yml pull_request: paths: - - ./github.**.yml + - ./.github/workflows/*.yml - ./**/action.yml jobs: zizmor: From 05fb2f042c129ce450f868ee2948dd479422b5c9 Mon Sep 17 00:00:00 2001 From: Maarten Bruna <14947039+ictbeheer@users.noreply.github.com> Date: Mon, 3 Aug 2026 11:10:50 +0200 Subject: [PATCH 3/4] chore: add concurrency --- .github/workflows/zizmor.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index c1dc756..feb18ec 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -4,12 +4,20 @@ on: push: branches: ["main"] paths: - - ./.github/workflows/*.yml - - ./**/action.yml + - ./.github/workflows/**.yml + - ./**/action.yml pull_request: paths: - - ./.github/workflows/*.yml - - ./**/action.yml + - ./.github/workflows/**.yml + - ./**/action.yml + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + jobs: zizmor: runs-on: ubuntu-latest From 29f17a75e7d69e74c3f9b637cc6b75afaee9decd Mon Sep 17 00:00:00 2001 From: Maarten Bruna <14947039+ictbeheer@users.noreply.github.com> Date: Mon, 3 Aug 2026 11:25:45 +0200 Subject: [PATCH 4/4] chore: simplify --- .github/workflows/zizmor.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index feb18ec..7dc6c1b 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -3,26 +3,18 @@ name: GitHub Actions Security Analysis with zizmor 🌈 on: push: branches: ["main"] - paths: - - ./.github/workflows/**.yml - - ./**/action.yml pull_request: - paths: - - ./.github/workflows/**.yml - - ./**/action.yml + branches: ["**"] -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -permissions: - contents: read +permissions: {} jobs: zizmor: runs-on: ubuntu-latest permissions: security-events: write + contents: read # only needed for private or internal repos + actions: read # only needed for private or internal repos steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1