[codex] chore(ci): update setup-python for Node 24 - #13
Conversation
Bump actions/setup-python to v6 to resolve the GitHub Actions Node.js 20 deprecation warning. Also declare read-only contents permissions and remove the redundant checkout ref override to keep the workflow minimal.
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe GitHub Actions test workflow was updated with tightened permissions by adding explicit Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
actions/setup-pythonfromv5tov6in the test workflowcontentspermissions for least-privilege workflow executionref: ${{ github.ref }}override fromactions/checkoutRoot cause
GitHub Actions is warning because
actions/setup-python@v5still runs on the deprecated Node.js 20 runtime. Thev6release updates the action for Node.js 24 compatibility, which aligns the workflow with the upcoming GitHub-hosted runner runtime change.Impact
This removes the Node.js 20 deprecation warning from the Python test workflow without changing the project test matrix or validation steps.
Validation
make formatmake testSummary by CodeRabbit