Skip to content

ci: zizmor autofix on github workflows#3560

Merged
Yuan325 merged 4 commits into
mainfrom
zizmor-fix
Jul 7, 2026
Merged

ci: zizmor autofix on github workflows#3560
Yuan325 merged 4 commits into
mainfrom
zizmor-fix

Conversation

@Yuan325

@Yuan325 Yuan325 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Yuan325
Yuan325 requested a review from a team as a code owner July 1, 2026 20:29
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@Yuan325 Yuan325 added the release candidate Use label to signal PR should be included in the next release. label Jul 7, 2026
@Yuan325 Yuan325 assigned twishabansal and unassigned duwenxin99 Jul 7, 2026
dishaprakash and others added 3 commits July 7, 2026 11:11
## Description

This PR resolves security vulnerabilities flagged by `zizmor` in our
GitHub Actions workflows to harden our CI pipelines.
* Fixes template injection in `cloud_build_failure_reporter.yml` and
`docs_preview_deploy_cf.yaml` by passing variables safely through `env`.
* Limits overly broad `read-all` permissions in
`docs_preview_build_cf.yaml` to `contents: read`.
* Hardens the `workflow_run` trigger in `cloudflare_sync.yaml` by
verifying the `head_repository` is the base repo.
* Documents and suppresses `zizmor` false-positives for
`pull_request_target` and `cache-poisoning` in workflows that are
strictly gated, sanitize their artifacts, or never check out untrusted
code.
@Yuan325
Yuan325 enabled auto-merge (squash) July 7, 2026 18:07
@Yuan325
Yuan325 merged commit e393c6b into main Jul 7, 2026
34 checks passed
@Yuan325
Yuan325 deleted the zizmor-fix branch July 7, 2026 18:07
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

🧨 Preview deployments removed.

Cloudflare Pages environments for pr-3560 have been deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release candidate Use label to signal PR should be included in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants