Skip to content

Commit 8b152c5

Browse files
committed
Fix: remove Gemini and use OpenAI model for presubmit workflow
1 parent f2f7ae2 commit 8b152c5

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/presubmit.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
name: Presubmit.ai
22

3-
permissions:
4-
contents: read
5-
pull-requests: write
6-
issues: write
7-
83
on:
94
pull_request:
105
types: [opened, synchronize, reopened]
116

12-
137
jobs:
148
review:
159
runs-on: ubuntu-latest
@@ -21,16 +15,10 @@ jobs:
2115
exit 1
2216
fi
2317
24-
- name: Check out PR code
25-
uses: actions/checkout@v3
26-
with:
27-
ref: ${{ github.event.pull_request.head.sha }}
28-
2918
- name: Run AI Reviewer
30-
uses: presubmit/ai-reviewer@latest
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
34-
LLM_PROVIDER: "openai"
35-
LLM_MODEL: "gpt-4-turbo"
36-
19+
uses: presubmit/ai-reviewer@latest
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
23+
LLM_PROVIDER: "openai"
24+
LLM_MODEL: "gpt-4-turbo"

0 commit comments

Comments
 (0)