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 8b152c5 commit 98e4d1bCopy full SHA for 98e4d1b
.github/workflows/presubmit.yml
@@ -1,8 +1,13 @@
1
name: Presubmit.ai
2
3
+permissions:
4
+ contents: read
5
+ pull-requests: write
6
+ issues: write
7
+
8
on:
9
pull_request:
- types: [opened, synchronize, reopened]
10
+ types: [opened, synchronize]
11
12
jobs:
13
review:
@@ -15,10 +20,15 @@ jobs:
15
20
exit 1
16
21
fi
17
22
23
+ - name: Check out PR code
24
+ uses: actions/checkout@v3
25
+ with:
26
+ ref: ${{ github.event.pull_request.head.sha }}
27
18
28
- name: Run AI Reviewer
19
29
uses: presubmit/ai-reviewer@latest
30
env:
31
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
- LLM_PROVIDER: "openai"
- LLM_MODEL: "gpt-4-turbo"
33
+ LLM_PROVIDER: openai
34
+ LLM_MODEL: gpt-4-turbo
0 commit comments