opus
opus copied to clipboard
ci: add read-only token permissions and pin all action references to SHAs
Summary
All six CI workflows lacked a top-level permissions: block, leaving
each run to inherit the repository default (potentially write-all).
Each workflow now has permissions: read-all at the top level.
Every action reference using a mutable version tag was pinned to its
full commit SHA (9 pins total), including actions/checkout and
msys2/setup-msys2.
Verification
uvx zizmor --min-severity high .github/workflows/
Result: no findings after this patch (was 9 high-severity before).