We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4a46f8 commit 1a74c90Copy full SHA for 1a74c90
.github/workflows/ai-review.yml
@@ -1,7 +1,7 @@
1
name: AI Review
2
3
on:
4
- pull_request:
+ pull_request_target:
5
types: [opened, synchronize]
6
7
permissions:
@@ -11,10 +11,9 @@ permissions:
11
jobs:
12
review:
13
runs-on: ubuntu-latest
14
- if: github.event.pull_request.draft == false
+ if: github.event.pull_request.head.repo.full_name == github.repository
15
steps:
16
- uses: ofershap/ai-pr-reviewer@v1
17
with:
18
github-token: ${{ secrets.GITHUB_TOKEN }}
19
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
20
-
0 commit comments