fix: pin pr-review-mention reusable to SHA d3d768d#173
Conversation
The @v1 tag in petry-projects/.github pointed to commit 0cb4bba1 which predates the existence of pr-review-mention-reusable.yml, causing a parse-time 'workflow was not found' error in all caller repos. Pin to the correct SHA d3d768dabb7f28cc63283cdfe48630da53700e50 (latest main). Ref: petry-projects/.github#267
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ 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 |
|
There was a problem hiding this comment.
Pull request overview
This PR updates the PR review mention workflow caller to reference the reusable workflow at a specific commit SHA, avoiding failures caused by an unavailable reusable workflow at the prior @v1 ref.
Changes:
- Pins
pr-review-mention-reusable.ymlto commitd3d768dabb7f28cc63283cdfe48630da53700e50. - Adds maintenance guidance for updating the shared template and fanout PRs when publishing a new SHA.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@don-petry I'm on it — starting a fresh review now. Results will appear in a few minutes. |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: 097fbd26890074e97b12230ea6d69656868a8644
Review mode: triage-approved (single reviewer)
Summary
Tiny one-file workflow fix that replaces the broken @v1 tag reference for the org-level pr-review-mention-reusable.yml with a pinned commit SHA (d3d768d), and adds a maintainer comment about fanning out future SHA bumps. The previous @v1 tag pointed to a commit that predated the existence of the reusable workflow, causing parse-time workflow was not found errors in caller repos. SHA pinning is also the recommended GitHub Actions security posture (immutable reference).
Linked issue analysis
No closes/fixes issue is attached. The PR body references petry-projects/.github#267 as context for why the @v1 tag was broken; this is informational, not a closure link, and that is appropriate for a workflow hotfix in a caller repo.
Findings
- Change is minimal and correct. Diff is +3/−1 in
.github/workflows/pr-review-mention.yml: swap@v1→@d3d768dabb7f28cc63283cdfe48630da53700e50 # mainon theuses:line, plus a comment line. - Security posture improves. Pinning a reusable workflow to an immutable commit SHA is the GitHub-recommended practice over floating tags, and matches the project's other hardening patterns.
- No supply-chain concern. The pinned reusable lives in
petry-projects/.github, the same org; the SHA can be verified against that repo'smain. - No secrets, credentials, migrations, or runtime code touched.
- Copilot reviewer left a non-blocking summary comment with no requested changes.
CI status
All required checks passing:
- CodeQL (actions, python): SUCCESS
- SonarCloud / SonarQube Cloud: Quality Gate passed (0 new issues, 0 hotspots)
- gitleaks (secret scan): SUCCESS
- AgentShield: SUCCESS
- Claude Code: SUCCESS
- CodeRabbit: SUCCESS (rate-limited summary only; no findings)
- Dependency audit / Dependabot / pr-review-mention handlers: SKIPPED (not applicable to a workflow-only change)
Reviewed automatically by the PR-review agent (single-reviewer mode: opus 4.7). Reply if you need a human review.



Summary
Pin
.github/workflows/pr-review-mention.ymlto the correct SHA instead of@v1.Root cause: The
v1lightweight tag inpetry-projects/.githubpointed to commit0cb4bba1which predates the addition ofpr-review-mention-reusable.yml(added in PR #237 on 2026-05-11). This caused a parse-time error in all caller repos:Fix: Pin to
d3d768dabb7f28cc63283cdfe48630da53700e50(latestmaincommit containing the reusable workflow).The
v1tag has been force-moved tod3d768dand a newv2tag cut at the same SHA.Ref: petry-projects/.github#267
Generated with Claude Code