Skip to content

ci: adopt the shared zizmor workflow and fix its findings - #74

Merged
h13 merged 1 commit into
mainfrom
ci/zizmor
Dec 2, 2026
Merged

h13 merged 1 commit into
mainfrom
ci/zizmor

Conversation

@h13

@h13 h13 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Adds a job calling h13/.github/.github/workflows/ci-zizmor.yml@v3.1.0 (SHA-pinned, default medium gate) and fixes every ≥medium zizmor finding so the gate starts green:

  • cd.yml brought up to the fleet template's current version (the file is not template-synced). For the 5 app repos this replaces the legacy echo '${{ secrets.CLASPRC_JSON }}' > ~/.clasprc.json — which put the secret on a command line — with the env + printf + umask 077 version, and brings WIF / Secret Manager support (legacy org-secret path still works unchanged when GCP_WIF_PROVIDER is unset).
  • template-injection fixed: clasp deploy --description now reads head_branch/head_sha from env: instead of interpolating ${{ }} into the command line.
  • dangerous-triggers acknowledged: workflow_run is deliberate (deploy after CI on push to dev/main only; no fork heads reach it) — annotated with a justified zizmor: ignore comment.
  • publish.yml: dropped the dead secrets: inherit and granted id-token: write — without it OIDC trusted publishing in the shared publish-node workflow would fail.
  • ci.yml gets a workflow-level permissions: contents: read.

Verified locally with zizmor 1.33.1: 0 findings at ≥medium.

Adds a job calling h13/.github ci-zizmor.yml (v3.1.0, SHA-pinned,
default medium gate) and fixes every >=medium finding so the gate
starts green. See the PR description for the finding-by-finding list.
@h13
h13 merged commit d51e73d into main Dec 2, 2026
8 checks passed
@h13
h13 deleted the ci/zizmor branch December 2, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant