Files
OmniRoute/scripts/ci
Kiaro-Sama cbc4e48464 fix(ci): verify and require pinned workflow scanners (#19299)
## Summary

- Restore the required workflow audit by installing verified, pinned scanners before the audit in both CI and Quality Gates. Reuse `scripts/ci/install-workflow-scanners.sh` as a required setup step outside the advisory multi-scanner step.
- Download the exact actionlint v1.7.12 Linux amd64 release asset through the authenticated runner GitHub CLI, with at most three attempts. Preserve the pinned SHA-256 verification before extraction and exact version checks before publishing PATH.
- Keep zizmor at 1.25.2 with its existing pinned artifact and checksum. Neither scanner may fall back to a cached/global binary.
- Supply the runner token to both existing Release-Green installer callers while retaining their immutable workflow-revision lookup.

The failure was reproduced in [the #18849 Extended job](https://github.com/cheaper-inference/OmniRoute/actions/runs/42464233885/job/128685771611): the browser download returned HTTP 504, `text/html`, and a 92-byte Gateway Time-out response that tar could not extract. The public release asset API served the archive with the SHA-256 already pinned in the repository. The failed audit correctly reported INCOMPLETE.

No baseline, scanner version, audit assertion, CodeQL alert, or security permission is weakened. This repair is separate from the feature PRs because the installer failure belongs to the release base.

## Related Issues

- Related to #18849: required workflow audit blocked by the shared actionlint download failure.
- Rel

Thanks @KiaroSama.
2026-11-09 04:43:07 -03:00
..