Skip to content

Harden CI credentials and pin the test toolchain - #6

Draft
Jerrycyborg wants to merge 2 commits into
mainfrom
codex/ci-least-privilege
Draft

Harden CI credentials and pin the test toolchain#6
Jerrycyborg wants to merge 2 commits into
mainfrom
codex/ci-least-privilege

Conversation

@Jerrycyborg

Copy link
Copy Markdown
Owner

Summary

Hardens the GitHub Actions trust boundary without changing trading behavior.

  • declares workflow-wide contents: read permissions
  • disables checkout credential persistence in all three jobs
  • pins uv 0.12.4 and Python 3.11
  • preserves the prior cache-pruning behavior explicitly
  • corrects the workflow's network-access documentation
  • adds a regression test for each CI security invariant

Verification

  • exact head: 64a60194d570ca8cafed49f21f17867837265d2c
  • push CI passed
  • lint, full tests, and Compose paper-trading checks passed
  • branch is 2 commits ahead and 0 behind main

Dependency PRs

Dependabot PRs #4 and #5 remain unmerged. After this PR lands, they should be rebased and rechecked while retaining these explicit inputs and credential controls.

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