ci: harden runners and DRY workflow conditions - #52
Open
idvoretskyi wants to merge 2 commits into
Open
Conversation
Signed-off-by: Ihor <ihor@linux.com>
Signed-off-by: Ihor <ihor@linux.com>
idvoretskyi
force-pushed
the
refactor/ci-cleanup-hardening
branch
from
August 20, 2026 18:29
9ce7898 to
e140479
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.
Summary
step-security/harden-runner(audit mode, SHA-pinned) as the first step of every job to monitor/log outbound network calls for supply-chain visibility.env.UPLOAD_SARIFexpression, referenced by each upload step.EACCESfrom re-installing over the root-owned feature package, see PR Fix devcontainer smoke test failure from incomplete Claude CLI install #51) and the CIaction_requiredapproval quirk for bot-authored branches inAGENTS.md.Security
persist-credentials: false, minimalpermissions, and Trivy/gitleaks gating were already in place.harden-runnerin audit mode (non-blocking) adds runtime network egress visibility for every job without changing behavior.Validation
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/ci.yml'))"— YAML parses cleanly.