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 1818 with :
1919 script : |
2020 const { default: script } = await import(`${process.env.GITHUB_WORKSPACE}/build-automation.mjs`);
21- await script(github);
21+ return script(github);
2222
2323 - name : Create update PR
2424 id : cpr
2727 token : ${{ secrets.GITHUB_TOKEN }}
2828 branch : update-branch
2929 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(', ') }}"
3232 delete-branch : true
3333 team-reviewers : |
3434 @nodejs/docker
Original file line number Diff line number Diff line change @@ -97,8 +97,9 @@ export default async function(github) {
9797 process . exit ( 0 ) ;
9898 }
9999 }
100- console . log ( `::set-output name=updated-versions::${ updatedVersions . join ( ',' ) } ` ) ;
101100 const { stdout } = ( await exec ( `git diff` ) ) ;
102101 console . log ( stdout ) ;
102+
103+ return { updatedVersions } ;
103104 }
104105}
You can’t perform that action at this time.
0 commit comments