-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.05 KB
/
prmate.yml
File metadata and controls
47 lines (39 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: PRMate
on:
workflow_dispatch:
inputs:
pr_number:
description: 'PR Number'
required: true
type: number
permissions:
contents: read
issues: write
pull-requests: write
jobs:
test-self-hosted:
runs-on: self-hosted
steps:
- name: PRMate Review
uses: leewr9/prmate@v1.0.7
with:
pr-number: ${{ inputs.pr_number }}
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
ollama-host: 'http://127.0.0.1:11434'
review-language: 'English'
review-strict: 'True'
test-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- name: PRMate Review
uses: leewr9/prmate@v1.0.7
with:
pr-number: ${{ inputs.pr_number }}
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
ollama-host: 'http://127.0.0.1:11434'
review-language: 'Korean'
review-strict: 'True'