checkup icon indicating copy to clipboard operation
checkup copied to clipboard

ci: harden SCIP workflow permissions

Open grtninja opened this issue 7 months ago • 0 comments

Summary

  • pin actions/checkout in .github/workflows/scip.yml to an immutable commit SHA
  • add explicit minimal permissions for the workflow token

Why

This keeps the existing SCIP upload flow intact while making the workflow a little safer and more explicit:

  • the checkout action no longer floats on a tag
  • the workflow token is limited to contents: read
  • the change stays one-file and behavior-preserving

Related public lane: this follows the same workflow-hardening pattern as NousResearch/hermes-agent#7646 and Aider-AI/aider#5021.

Validation

  • YAML parse of .github/workflows/scip.yml
  • git diff --check

No Go source files or runtime code paths were changed in this patch.

grtninja avatar Apr 13 '26 01:04 grtninja