chore: Manually fix staging.yml indentation problem caused during dependabot - #133
Conversation
|
Semgrep found 3 GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. |
Review: chore: Manually fix staging.yml indentationThe fix is correct, minimal, and should be merged. A few follow-ups worth considering. CorrectnessThe old line put Worth checking after mergeBecause the workflow file was unparseable, no staging image has been pushed for any commit to Prevention — the real gap here (test coverage)Nothing in CI validates workflow files, so a malformed workflow only surfaces as a missing or failed run on
Security / consistency note (pre-existing, not introduced here)
Code quality / performanceNo application code touched, so no runtime, performance, or test implications. Style matches the surrounding file. Verdict: approve. The lint step and the version comment are suggestions for a follow-up PR, not blockers for this one. |
Manually fix staging.yml indentation problem caused during dependabot changes