-
Notifications
You must be signed in to change notification settings - Fork 219
43 lines (36 loc) · 1.08 KB
/
pr_recommend.yml
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
name: Recommend For PR
on:
pull_request:
types: [opened]
branches:
- dev**
jobs:
recommend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🔨 Setup Python 3.7
uses: actions/setup-python@v4
with:
python-version: '3.7'
- run: |
pip install jieba
pip install numpy
#- name: 🔨 Setup .NET 6.X SDK
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: '6.x'
- name: 🌈 Recommend
run: dotnet test './test/workflow/Workflow.Runner' --nologo -c Release
env:
OWNER_NAME: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
PR_ID: ${{ github.event.pull_request.node_id }}
PR_TITLE: ${{ github.event.pull_request.title }}
WORKER_NAME: PR_RECOMMEND
ISSUE_STATUS: OPEN
USE_PADDLE: "TRUE"
PICK_COUNT: 1
MIN_SIMILAR_SCORE: 0.80
MAX_SIMILAR_SCORE: 1