Skip to content

Pin setup-python action to a commit hash - part 1#7492

Merged
youknowone merged 1 commit intoRustPython:mainfrom
ShaharNaveh:setup-python-pin-1
Mar 24, 2026
Merged

Pin setup-python action to a commit hash - part 1#7492
youknowone merged 1 commit intoRustPython:mainfrom
ShaharNaveh:setup-python-pin-1

Conversation

@ShaharNaveh
Copy link
Contributor

@ShaharNaveh ShaharNaveh commented Mar 24, 2026

extracted from #7491

Summary by CodeRabbit

  • Chores
    • Updated CI/CD pipeline infrastructure for improved workflow reliability and consistency.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 24, 2026

📝 Walkthrough

Walkthrough

GitHub Actions workflow configuration updated to pin actions/setup-python action to a specific commit SHA (a309ff8b426b58ec0e2a45f0f869d46889d02405) instead of version tag (v6.2.0) across three workflow jobs: snippets_cpython, lint, and wasm. No configuration parameters or logic changes.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Version Pinning
.github/workflows/ci.yaml
Replaced actions/setup-python@v6.2.0 with commit-pinned references across snippets_cpython, lint, and wasm jobs. Python version configuration remains unchanged.

Suggested reviewers

  • youknowone

Poem

🐰 A rabbit hops through workflows neat,
Pinning commits for safety so sweet,
No floating tags to cause dismay,
Just locked-down versions here to stay! 🔒

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title 'Pin setup-python action to a commit hash - part 1' directly and clearly describes the main change: pinning the setup-python action to a specific commit SHA in the workflow file.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ShaharNaveh ShaharNaveh changed the title Pin setup-python action to a commit hash - part 1 Pin setup-python action to a commit hash - part 1 Mar 24, 2026
@youknowone youknowone merged commit 5408627 into RustPython:main Mar 24, 2026
18 checks passed
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.

2 participants