modify action event

This commit is contained in:
hexqi 2024-01-03 15:48:55 -08:00
parent 44d73bb82f
commit 2a3deca631
No known key found for this signature in database
GPG Key ID: 1787BC160CDC3147
1 changed files with 3 additions and 2 deletions

View File

@ -5,11 +5,12 @@ permissions:
pull-requests: write
on:
pull_request_target:
types: [opened, reopened, synchronize]
issue_comment:
types: [created]
jobs:
review:
if: contains(github.event.comment.body, '/review')
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@main