返回提交历史
Modified
.github/workflows/copilot.yml
+3
-6
XFEstudio/gpt4free
Restoring an old file (.github/workflows/copilot.yml)
cd5e248b
代码差异
1 个文件
+3
-6
@@ -6,9 +6,6 @@ on:
6
6
types:
7
7
- completed
8
8
9
env:
10
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true
11
12
9
jobs:
13
10
review:
14
11
runs-on: ubuntu-latest
@@ -17,9 +14,9 @@ jobs:
17
14
pull-requests: write
18
15
steps:
19
16
- name: Checkout Repo
20
uses: actions/checkout@v4
17
uses: actions/checkout@v3
21
18
- name: 'Download artifact'
22
uses: actions/github-script@v7
19
uses: actions/github-script@v6
23
20
with:
24
21
script: |
25
22
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
@@ -41,7 +38,7 @@ jobs:
41
38
- name: 'Unzip artifact'
42
39
run: unzip pr_number.zip
43
40
- name: Setup Python
44
uses: actions/setup-python@v5
41
uses: actions/setup-python@v4
45
42
with:
46
43
python-version: "3.x"
47
44
cache: 'pip'