From c86fbf1af730fda573351fcb68a7271234de81d3 Mon Sep 17 00:00:00 2001 From: Carlo Goetz Date: Tue, 17 Nov 2026 09:00:58 +0100 Subject: [PATCH 1/2] chore(gha): move zizmor into ci workflow --- .github/workflows/ci.yaml | 16 ++++++++++++++++ .github/workflows/zizmor.yaml | 28 ---------------------------- 2 files changed, 16 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/zizmor.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cb4771564..61e19d3aa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,6 +14,22 @@ env: CODE_COVERAGE_ARTIFACT_NAME: "code-coverage" jobs: + zizmor: + name: zizmor + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Run zizmor + uses: zizmorcore/zizmor-action@45d7276c9ca790aabd705e31ca99c6185c3e76dd # v0.8.1 + with: + version: v1.32.0 + advanced-security: false # Fail the job on findings instead of uploading SARIF. + annotations: true + main: name: CI runs-on: ubuntu-latest diff --git a/.github/workflows/zizmor.yaml b/.github/workflows/zizmor.yaml deleted file mode 100644 index defc19d5f..000000000 --- a/.github/workflows/zizmor.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: GitHub Actions Security - -on: - pull_request: - workflow_dispatch: - push: - branches: - - main - -permissions: {} - -jobs: - zizmor: - name: zizmor - runs-on: ubuntu-latest - permissions: - security-events: write # Upload SARIF to GitHub code scanning. - steps: - - name: Checkout - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - - # SARIF findings are enforced through code-scanning policies, not this job's exit status. - - name: Run zizmor - uses: zizmorcore/zizmor-action@45d7276c9ca790aabd705e31ca99c6185c3e76dd # v0.8.1 - with: - version: v1.32.0 From 9ad73dfb64f63bfd237c015c3287b847b6c571fc Mon Sep 17 00:00:00 2001 From: Carlo Goetz Date: Tue, 17 Nov 2026 14:04:50 +0100 Subject: [PATCH 2/2] add missing file --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 09c395fd8..3dc878ee9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -93,9 +93,9 @@ jobs: - name: Create issue to inform about Homebrew PR run: | gh issue create \ - --repo "${{ github.repository }}" \ - --title "Homebrew Cask PR opened for ${{ github.ref_name }}" \ - --body "A pull request has been automatically created for release **${{ github.ref_name }}**" + --repo "$GITHUB_REPOSITORY" \ + --title "Homebrew Cask PR opened for $GITHUB_REF_NAME" \ + --body "A pull request has been automatically created for release **$GITHUB_REF_NAME**" env: GH_TOKEN: ${{ github.token }}