ci: use readable action version tags#1973
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdates CI workflows to replace pinned commit SHAs with major/tag refs and upgrades Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@tests/files-security.test.ts`:
- Around line 27-42: The test is inserting into the apikeys table while using
getSupabaseClient() (SERVICE_ROLE_KEY) which causes the apikeys_force_server_key
trigger (from migration 20260206120000_apikey_server_generation.sql) to skip
key/hash generation and thus violate the apikeys_key_or_hash constraint; fix by
either creating the row with a non-admin client (use a
user-scoped/non-service_role Supabase client) or explicitly generate and set a
valid key and its hash on the insert (populate key and key_hash before calling
.insert) so the trigger bypass does not leave both fields null.
🪄 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: defaults
Review profile: CHILL
Plan: Pro
Run ID: 45f8e76a-872f-41cb-8d86-1d635492d374
📒 Files selected for processing (5)
.github/workflows/build_and_deploy.yml.github/workflows/codspeed.yml.github/workflows/tests.yml.sonarcloud.propertiestests/files-security.test.ts
|



Summary (AI generated)
Motivation (AI generated)
The previous CI update used pinned SHAs for action references, which made the workflow files harder to read and review. This follow-up keeps the Node 24-compatible action versions but switches them to readable tags, then aligns SonarCloud with that policy so the PR can pass quality checks.
Business Impact (AI generated)
This makes workflow maintenance easier for the Capgo team, reduces friction when reviewing CI changes, and preserves green automation without forcing workflow refs back to opaque commit hashes.
Test Plan (AI generated)
Checklist (AI generated)
Generated with AI
Summary by CodeRabbit