Pin GitHub Actions to immutable commit SHAs - closes #1331#1377
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
🚧 Files skipped from review as they are similar to previous changes (6)
📝 WalkthroughWalkthroughGitHub Actions references in PostgreSQL test and PyPI publishing workflows are changed from tags to immutable commit SHAs. Existing workflow conditions, inputs, commands, and artifact paths remain unchanged, and a news fragment records the pinning policy. ChangesWorkflow dependency pinning
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8).github/workflows/async-postgres.ymlTraceback (most recent call last): .github/workflows/dockerised-postgres.ymlTraceback (most recent call last): .github/workflows/oldest-postgres.ymlTraceback (most recent call last):
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/dockerised-postgres.yml:
- Line 52: Update the checkout steps to set persist-credentials to false in
.github/workflows/dockerised-postgres.yml (lines 52-52),
.github/workflows/oldest-postgres.yml (lines 38-38),
.github/workflows/single-postgres-windows.yml (lines 33-33), and
.github/workflows/single-postgres.yml (lines 38-38).
In `@newsfragments/1331.rst`:
- Line 1: Rename the news fragment from 1331.rst to 1331.misc.rst so it includes
Towncrier’s required type suffix, preserving its existing content unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: ba1455a9-64de-4c2a-8b5a-beb156604a31
📒 Files selected for processing (7)
.github/workflows/async-postgres.yml.github/workflows/dockerised-postgres.yml.github/workflows/oldest-postgres.yml.github/workflows/pypi.yml.github/workflows/single-postgres-windows.yml.github/workflows/single-postgres.ymlnewsfragments/1331.rst
Summary by CodeRabbit
Chores
Documentation