Skip to content

ci: harden dependency restore and token defaults - #9

Merged
EricSun0218 merged 3 commits into
mainfrom
codex/scorecard-hardening-signed
Aug 4, 2026
Merged

ci: harden dependency restore and token defaults#9
EricSun0218 merged 3 commits into
mainfrom
codex/scorecard-hardening-signed

Conversation

@EricSun0218

@EricSun0218 EricSun0218 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • enforce NuGet lock files in both ordinary and trusted .NET restore gates
  • default the privileged trusted workflow token to no permissions, preserving only explicit per-job grants
  • remove two timing races exposed by simultaneous Windows/Linux CI: wait for the intended deadline stage and for detached-provider cleanup accounting
  • use GitHub-signed and verified commits so the protected branch never needs an administrator bypass

Verification

  • Release version consistency check and self-test
  • Trusted workflow contract self-test
  • locked-mode solution restore
  • focused race tests: 20/20 repeated rounds passed
  • complete persistence suite: 511/511 passed
  • solution formatting verification passed
  • full GitHub CI, engines, CodeQL, dependencies, and trusted artifact matrix required before auto-merge

@EricSun0218
EricSun0218 merged commit 0735cbb into main Aug 4, 2026
16 of 22 checks passed
@EricSun0218
EricSun0218 deleted the codex/scorecard-hardening-signed branch August 4, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant