Skip to content

fix: pin pr-review-mention reusable workflow to SHA#170

Closed
don-petry wants to merge 1 commit into
mainfrom
claude/issue-169-20260511-1242
Closed

fix: pin pr-review-mention reusable workflow to SHA#170
don-petry wants to merge 1 commit into
mainfrom
claude/issue-169-20260511-1242

Conversation

@don-petry
Copy link
Copy Markdown
Contributor

Summary

  • Pins petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml from the floating @v1 tag to commit SHA 0cb4bba11d7563bf197ad805f12fb8639e4879e4 (a.k.a. v1) to satisfy the org action-pinning policy.

Changes

pr-review-mention.yml line 37:

-    uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@v1
+    uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@0cb4bba11d7563bf197ad805f12fb8639e4879e4 # v1

The # v1 comment is retained so human readers can easily identify which release version the SHA corresponds to.

Test plan

  • Verify the SHA lookup: gh api repos/petry-projects/.github/git/refs/tags/v1 --jq '.object.sha'0cb4bba11d7563bf197ad805f12fb8639e4879e4
  • Confirm no other workflow files in this repo have unpinned actions
  • CI compliance audit passes after merge

Closes #169

Generated with Claude Code

Pins `petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml`
from the floating `@v1` tag to commit SHA `0cb4bba11d7563bf197ad805f12fb8639e4879e4`
to satisfy the org action-pinning policy.

Closes #169

Co-authored-by: Don Petry <don-petry@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 11, 2026 12:43
@don-petry don-petry requested a review from a team as a code owner May 11, 2026 12:43
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 11, 2026

Warning

Rate limit exceeded

@don-petry has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 26 minutes and 27 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: fd40e655-b38b-479e-acc9-a7c2419bea65

📥 Commits

Reviewing files that changed from the base of the PR and between e6e0523 and 58693e9.

📒 Files selected for processing (1)
  • .github/workflows/pr-review-mention.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/issue-169-20260511-1242

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.

@don-petry
Copy link
Copy Markdown
Contributor Author

Self-review complete — the change is minimal and correct:

  • Only one line modified (line 37): floating @v1 tag → pinned SHA 0cb4bba11d7563bf197ad805f12fb8639e4879e4 with # v1 comment for human readability
  • Trigger events and permissions: block are unchanged (as required by the file header instructions)
  • SHA was verified via gh api repos/petry-projects/.github/git/refs/tags/v1 — it resolves directly to a commit object, not an annotated tag

@petry-projects/org-leads — please review and merge when ready.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the pr-review-mention workflow’s org-level reusable workflow reference to a specific commit SHA to satisfy the org’s action pinning compliance check for this repository.

Changes:

  • Updated .github/workflows/pr-review-mention.yml to replace @v1 with a full commit SHA (keeping a # v1 annotation).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

permissions:
pull-requests: write
uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@v1
uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@0cb4bba11d7563bf197ad805f12fb8639e4879e4 # v1
permissions:
pull-requests: write
uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@v1
uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@0cb4bba11d7563bf197ad805f12fb8639e4879e4 # v1
@don-petry don-petry enabled auto-merge (squash) May 12, 2026 01:41
@don-petry
Copy link
Copy Markdown
Contributor Author

Closing in favor of #173, which pins to the correct SHA d3d768dabb7f28cc63283cdfe48630da53700e50. This PR used the broken 0cb4bba1 SHA that predates the reusable workflow file.

@don-petry don-petry closed this May 13, 2026
auto-merge was automatically disabled May 13, 2026 16:22

Pull request was closed

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.

Compliance: unpinned-actions-pr-review-mention.yml

2 participants