Skip to content

revert: restore .github/workflows/pr-review-mention.yml#236

Merged
don-petry merged 1 commit into
mainfrom
revert/restore-pr-review-mention-yml
May 11, 2026
Merged

revert: restore .github/workflows/pr-review-mention.yml#236
don-petry merged 1 commit into
mainfrom
revert/restore-pr-review-mention-yml

Conversation

@don-petry

Copy link
Copy Markdown
Contributor

Restores the accidentally deleted pr-review-mention.yml workflow.

This reverts change #1 from the erroneous deprecation commit.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 11, 2026 02:14
@don-petry don-petry requested a review from a team as a code owner May 11, 2026 02:14
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

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

@coderabbitai

coderabbitai Bot commented May 11, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@don-petry has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 50 minutes and 46 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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: b735d450-b91d-4b93-b7bc-553b59b4f740

📥 Commits

Reviewing files that changed from the base of the PR and between 1153dec and b1631b8.

📒 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 revert/restore-pr-review-mention-yml

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.

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Restores the previously deleted pr-review-mention.yml GitHub Actions workflow that triggers an automated PR review flow when the bot is mentioned in comments/review comments or when donpetry-bot is requested as a reviewer.

Changes:

  • Re-adds .github/workflows/pr-review-mention.yml workflow.
  • Adds logic to (a) detect mention/review-request triggers, (b) check actor trust, (c) comment an acknowledgement, and (d) dispatch an event to petry-projects/.github-private.

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

github.event.requested_reviewer.login == 'donpetry-bot' &&
github.event.pull_request.head.repo.full_name == github.repository) ||
(github.event_name != 'pull_request' &&
contains(github.event.comment.body, '@petry-review-bot') &&
Comment on lines +22 to +23
permissions:
pull-requests: write
Comment on lines +104 to +117
- name: Post acknowledgement comment
if: steps.trust.outputs.trusted == 'true'
env:
GH_TOKEN: ${{ secrets.GH_PAT_WORKFLOWS }}
PR_URL: ${{ steps.pr.outputs.pr_url }}
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
ACTOR="${{ github.event.sender.login }}"
MSG="@${ACTOR} assigned me as reviewer — starting a fresh review now. Results will appear in a few minutes."
else
ACTOR="${{ github.event.comment.user.login }}"
MSG="@${ACTOR} I'm on it — starting a fresh review now. Results will appear in a few minutes."
fi
gh pr comment "$PR_URL" --body "$(printf '<!-- pr-review-agent mention-ack -->\n%s' "${MSG}")"
@don-petry don-petry merged commit d3ad991 into main May 11, 2026
25 of 26 checks passed
@don-petry don-petry deleted the revert/restore-pr-review-mention-yml branch May 11, 2026 02:23
don-petry added a commit that referenced this pull request Jun 8, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 8, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 8, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 10, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
revert: restore pr-review-mention.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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