Skip to content

ci: add realio-pr-reviewer caller #1

ci: add realio-pr-reviewer caller

ci: add realio-pr-reviewer caller #1

Workflow file for this run

# Calls the org reusable PR reviewer (realiotech/pr-reviewer via realiotech/workflows).
# Auto-reviews PRs; reply "@realio-pr-reviewer <explain|fix|dismiss|re-review> ..."
# in a PR comment to drive follow-ups. Advisory only — does not gate merges.
name: pr-review
on:
pull_request:
types: [opened, synchronize, reopened]
issue_comment:
types: [created]
# Least-privilege: the reviewer writes via its GitHub App token, not GITHUB_TOKEN.
permissions:
contents: read
# Coalesce rapid pushes / repeated comments; cancel superseded runs (per PR + event).
concurrency:
group: pr-review-${{ github.event.pull_request.number || github.event.issue.number }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
review:
# PRs always; PR comments only when they actually mention the bot — so a
# casual comment doesn't spin up a secret-bearing runner just to no-op.
if: ${{ github.event_name != 'issue_comment' || (github.event.issue.pull_request && contains(github.event.comment.body, '@realio-pr-reviewer')) }}
uses: realiotech/workflows/.github/workflows/pr-review.yaml@main

Check failure on line 26 in .github/workflows/pr-review.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-review.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/pr-review.yaml" -> "realiotech/workflows/.github/workflows/pr-review.yaml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
secrets:
PR_REVIEWER_APP_ID: ${{ secrets.PR_REVIEWER_APP_ID }}
PR_REVIEWER_PRIVATE_KEY: ${{ secrets.PR_REVIEWER_PRIVATE_KEY }}
PARASAIL_API_KEY: ${{ secrets.PARASAIL_API_KEY }}