返回提交历史
Modified
.github/workflows/copilot.yml
+7
-5
XFEstudio/gpt4free
On workflow_run copilot
eb166851
代码差异
1 个文件
+7
-5
@@ -1,15 +1,17 @@
1
1
name: AI Code Reviewer
2
2
3
3
on:
4
pull_request:
4
workflow_run:
5
workflows: ["build"]
5
6
types:
6
- opened
7
- synchronize
7
- completed
8
8
9
9
jobs:
10
10
review:
11
11
runs-on: ubuntu-latest
12
permissions: write-all
12
permissions:
13
contents: read
14
pull-requests: write
13
15
steps:
14
16
- name: Checkout Repo
15
17
uses: actions/checkout@v3
@@ -25,5 +27,5 @@ jobs:
25
27
run: pip install PyGithub
26
28
- name: AI Code Review
27
29
env:
28
GITHUB_TOKEN: ${{ secrets.COPILOT_TOKEN }}
30
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
31
run: python -m etc.tool.copilot