Commit f7a353e 1 parent 9890872 commit f7a353e Copy full SHA for f7a353e
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ jobs:
19
19
pr-base : ${{ steps.pr-base-script.outputs.result }}
20
20
steps :
21
21
- name : ' Download PR artifact'
22
- uses : actions/github-script@v3.1.0
22
+ uses : actions/github-script@v7
23
23
id : download-pr
24
24
with :
25
25
result-encoding : string
26
26
script : |
27
- var artifacts = await github.actions.listWorkflowRunArtifacts({
27
+ var artifacts = await github.rest. actions.listWorkflowRunArtifacts({
28
28
owner: context.repo.owner,
29
29
repo: context.repo.repo,
30
30
run_id: context.payload.workflow_run.id,
36
36
core.setFailed("No PR artifact");
37
37
return "False";
38
38
}
39
- var download = await github.actions.downloadArtifact({
39
+ var download = await github.rest. actions.downloadArtifact({
40
40
owner: context.repo.owner,
41
41
repo: context.repo.repo,
42
42
artifact_id: matchArtifact.id,
53
53
- name : Retrieve the pr number
54
54
if : success()
55
55
id : pr-artifact-script
56
- uses : actions/github-script@v3.1.0
56
+ uses : actions/github-script@v7
57
57
with :
58
58
result-encoding : string
59
59
script : |
64
64
- name : Retrieve the pr base
65
65
if : success()
66
66
id : pr-base-script
67
- uses : actions/github-script@v3.1.0
67
+ uses : actions/github-script@v7
68
68
with :
69
69
result-encoding : string
70
70
script : |
You can’t perform that action at this time.
0 commit comments