ci: Remove zizmor (#42239)

This commit is contained in:
Matsu authored and GitHub committed 2026-10-27 06:45:05 +00:00
1 parent e145ac4b23
commit cb5f93607d
7 files changed
+12 -37

No files matched your search

@@ -2,10 +2,10 @@
Applies to: `.github/workflows/**`, `.github/actions/**`, `.poutine.yml`.
Poutine and Zizmor already fail CI for the classic hazards — `pull_request_target`
(also an error-level `@n8n/code-health` rule), actions unpinned from a full commit
SHA, untrusted checkout execution, self-hosted runner exposure. Do not repeat
them. What follows is what the scanners cannot see.
Poutine already fails CI for the classic hazards — `pull_request_target` (also
an error-level `@n8n/code-health` rule), actions unpinned from a full commit SHA,
untrusted checkout execution, self-hosted runner exposure. Do not repeat them.
What follows is what the scanner cannot see.
## Silencing a scanner is the change to review
@@ -13,10 +13,10 @@ them. What follows is what the scanners cannot see.
(by purl) and `untrusted_checkout_exec` (by path). The file says "Add new
entries only after security review". Nothing enforces that.
Flag any addition to `.poutine.yml`'s `skip:` block, any new `zizmor: ignore`
comment, and any new entry in `.github/poutine-rules/`'s exceptions. Ask what
was reviewed and why the finding is a false positive rather than a real one.
The entry needs a comment giving the reason, matching the ones already there.
Flag any addition to `.poutine.yml`'s `skip:` block or any new entry in
`.github/poutine-rules/`'s exceptions. Ask what was reviewed and why the finding
is a false positive rather than a real one. The entry needs a comment giving the
reason, matching the ones already there.
## A gate that cannot fail is not a gate
+1 -1
View File
@@ -78,7 +78,7 @@ runs:
- name: Activate cached pnpm executable
if: steps.cache-pnpm-exe.outputs.cache-hit == 'true'
shell: bash
run: | # zizmor: ignore[github-env] Fixed paths contain no external input.
run: |
PNPM_DEST="$HOME/setup-pnpm"
echo "PNPM_HOME=$PNPM_DEST" >> "$GITHUB_ENV"
echo "$PNPM_DEST" >> "$GITHUB_PATH"
+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
# release-publish.yml caller so docker-build-push.yml runs with the permissions
# (its own per-job blocks + repo defaults) and org secrets it already relies on.
# Capping here risks starving its sub-jobs (SLSA/attestation/scan/push).
uses: ./.github/workflows/docker-build-push.yml # zizmor: ignore[excessive-permissions,secrets-inherit]
uses: ./.github/workflows/docker-build-push.yml
with:
ref: '3.x'
n8n_version: 'v3-nightly'
-4
View File
@@ -17,10 +17,6 @@ jobs:
ref: ${{ inputs.ref }}
secrets: inherit
zizmor-scan:
name: Zizmor Security Scan
uses: ./.github/workflows/sec-zizmor-reusable.yml
# Future security checks can be added here:
# - dependency-scan:
# - secret-detection:
-20
View File
@@ -1,20 +0,0 @@
name: 'Sec: Zizmor Scan'
on:
workflow_dispatch:
workflow_call:
permissions: {}
jobs:
zizmor_scan:
name: Zizmor Security Scan
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: useblacksmith/checkout@bcec731f1eb1367240608d1c889a75b96db6ec53 # v1.5.0
- name: Run zizmor 🌈
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
+1 -2
View File
@@ -144,8 +144,7 @@ jobs:
with:
ref: ${{ inputs.branch || github.ref }}
fetch-depth: 1
# This job uploads artifacts and needs no token post-checkout — drop the
# persisted credential so it can't leak (zizmor: artipacked).
# This job uploads artifacts and needs no token after checkout.
persist-credentials: false
- name: Setup Environment
+1 -1
View File
@@ -79,7 +79,7 @@ reviews:
## Don't repeat what CI already fails on
`pnpm lint`, `pnpm typecheck`, Poutine, Zizmor and `@n8n/code-health` run on
`pnpm lint`, `pnpm typecheck`, Poutine and `@n8n/code-health` run on
every PR. A defect one of them fails the build for is not a finding; the
author sees it first. Rule files name the exemptions. Report what static
analysis cannot see.