You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pin detect step env HEAD_SHA mapping in CI gating structure test #193
Finding (from review of PR #185, LOW — test-coverage):
Task 1.1 and design D2 of the ci-skip-build-for-learnings change mandate the PR head SHA reach the detection script through the step's env: block (HEAD_SHA: ${{ github.event.pull_request.head.sha }}, .github/workflows/ci.yml:46-47), never interpolated into run: — event-context template injection is a zizmor finding. assertDetectionLogic pins the $HEAD_SHA comparison but not the env mapping that defines it, so a regression to inline ${{ github.event.pull_request.head.sha }} interpolation inside the run script passes make check. The remaining backstop is zizmor in Standardized CI.
Suggested fix: extend the structure test to assert the env: mapping HEAD_SHA: ${{ github.event.pull_request.head.sha }} on the detect step, pinning the mandated indirection.
Activity