File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
script : |
20
20
const { default: script } = await import(`${process.env.GITHUB_WORKSPACE}/build-automation.mjs`);
21
- await script(github);
21
+ return script(github);
22
22
23
23
- name : Create update PR
24
24
id : cpr
27
27
token : ${{ secrets.GITHUB_TOKEN }}
28
28
branch : update-branch
29
29
base : main
30
- commit-message : " Update to ${{ steps.updt.outputs.updated-versions }}"
31
- title : " Update to ${{ steps.updt.outputs.updated-versions }}"
30
+ commit-message : " feat: Node.js ${{ steps.updt.outputs.result.updatedVersions.join(', ') }}"
31
+ title : " feat: Node.js ${{ steps.updt.outputs.result.updatedVersions.join(', ') }}"
32
32
delete-branch : true
33
33
team-reviewers : |
34
34
@nodejs/docker
Original file line number Diff line number Diff line change @@ -97,8 +97,9 @@ export default async function(github) {
97
97
process . exit ( 0 ) ;
98
98
}
99
99
}
100
- console . log ( `::set-output name=updated-versions::${ updatedVersions . join ( ',' ) } ` ) ;
101
100
const { stdout } = ( await exec ( `git diff` ) ) ;
102
101
console . log ( stdout ) ;
102
+
103
+ return { updatedVersions } ;
103
104
}
104
105
}
You can’t perform that action at this time.
0 commit comments