Repository navigation
ci: use zizmor to harden actions workflows - #27560
Open
akshat-lakhera wants to merge 1 commit into
Open
akshat-lakhera wants to merge 1 commit into
akshat-lakhera wants to merge 1 commit into
Conversation
Add standalone zizmor static analysis workflow and configuration to harden GitHub Actions workflows against security risks and misconfigurations. Explicitly set persist-credentials to false across checkout steps to prevent leaking ambient repository credentials to downstream steps. Fix template injection risks in large_files.yml and setup-builder action by passing expressions through environment variables rather than direct inline bash interpolation. Remove redundant checks write permission from extended workflow. Pin amd64/rust container images by immutable digest with version tag comments across extended and rust workflows. Update dependabot configuration to include docker ecosystem with cooldown settings. Configure zizmor to disable self-repository rule to preserve local composite action execution under export-ignore. Closes apache#26408 Signed-off-by: Akshat Lakhera <akshatlnct2024@gmail.com>
akshat-lakhera
force-pushed
the
fix/26408-zizmor
branch
from
November 18, 2026 22:29
4c19968 to
218237a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #26408: [CI] Use zizmor to harden Actions workflows
Rationale for this change
Hardening GitHub Actions workflows prevents credential leakage, potential template injection vulnerabilities from pull request titles or inputs, and uses pinned container digests to avoid supply-chain risks.
What changes are included in this PR?
What is the testing strategy for this PR?
Tested zizmor analysis locally and verified all existing GitHub Actions workflows parse cleanly.
Are there any user-facing changes?
No user-facing changes; CI and workflow hardening only.