diff --git a/.github/workflows/ai_review.yml b/.github/workflows/ai_review.yml index 8072744..67cdad9 100644 --- a/.github/workflows/ai_review.yml +++ b/.github/workflows/ai_review.yml @@ -8,10 +8,10 @@ on: jobs: review: - # Run if it's a PR event OR if it's a comment on a PR starting with /ask + # Run if it's a PR event OR if it's a comment on a PR starting with /review if: | github.event_name == 'pull_request' || - (github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/ask')) + (github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/review')) runs-on: ubuntu-latest permissions: contents: read