File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 5
5
types : [opened, edited, closed]
6
6
7
7
jobs :
8
- build :
8
+ record_pr :
9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
Original file line number Diff line number Diff line change @@ -41,13 +41,15 @@ jobs:
41
41
prAction : ${{ steps.prAction.outputs.prAction }}
42
42
prIsMerged : ${{ steps.prIsMerged.outputs.prIsMerged }}
43
43
steps :
44
+ - name : Checkout repository # in case caller workflow doesn't checkout thus failing with file not found
45
+ uses : actions/checkout@v3
44
46
- name : " Download previously saved PR"
45
47
uses : actions/github-script@v6
46
48
# For security, we only download artifacts tied to the successful PR recording workflow
47
49
with :
48
50
github-token : ${{ secrets.token }}
49
51
script : |
50
- const script = require('.github/scripts/download_pr_details .js')
52
+ const script = require('.github/scripts/download_pr_artifact .js')
51
53
await script({github, context, core})
52
54
# NodeJS standard library doesn't provide ZIP capabilities; use system `unzip` command instead
53
55
- name : " Unzip PR artifact"
You can’t perform that action at this time.
0 commit comments