Skip to content

AI review: PR ready

GitHub webhook on the pull_request_review or issue_comment event from a bot account — and a push straight to your phone.

The simplest way is a Notifly webhook with an author filter:

application/json
# GitHub repo settings → Webhooks → Add webhook
# Payload URL: https://your-notifly/webhook/W<token>?author=ai-bot[bot]
# Events: Pull request reviews, Issue comments

In your dynamic-webhook (see Webhooks) choose only comments from the preconfigured bot account and compose the title/message. Alternatively — a workflow in GitHub Actions:

on: pull_request_review
jobs:
notify:
if: github.event.review.user.login == 'github-actions[bot]'
runs-on: ubuntu-latest
steps:
- run: |
curl -fsS "$NOTIFLY_URL/message?token=$NOTIFLY_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"title\":\"🤖 AI review готов\",\"message\":\"$PR_TITLE\\n${{ github.event.pull_request.html_url }}\",\"priority\":5}"
env:
PR_TITLE: ${{ github.event.pull_request.title }}