File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 3838 needs : [run-js-tests]
3939 runs-on : ubuntu-latest
4040 if : (github.repository != 'Exabyte-io/template-definitions') && (github.ref_name == 'main')
41+ outputs :
42+ release-version : ${{ steps.publish.outputs.tag-name }}
4143
4244 steps :
4345 - name : Checkout this repository
5153 path : actions
5254
5355 - name : Publish JS release
56+ id : publish
5457 uses : ./actions/js/publish
5558 with :
5659 node-version : 12.21.x
5760 npm-token : ${{ secrets.NPM_TOKEN }}
5861 github-token : ${{ secrets.BOT_GITHUB_TOKEN }}
5962
63+ create-pr-in-a-dependant :
64+ needs : [publish-js-package]
65+ runs-on : ubuntu-latest
66+ if : (github.repository != 'Exabyte-io/template-definitions') && (github.ref_name == 'main')
67+
68+ steps :
69+ - name : Checkout this repository
70+ uses : actions/checkout@v2
71+
72+ - name : Checkout actions repository
73+ uses : actions/checkout@v2
74+ with :
75+ repository : Exabyte-io/actions
76+ token : ${{ secrets.BOT_GITHUB_TOKEN }}
77+ path : actions
78+
79+ - name : Create a PR
80+ uses : ./actions/git/pull-request
81+ with :
82+ github-token : ${{ secrets.BOT_GITHUB_TOKEN }}
83+ repository : Exabyte-io/ade.js
84+ source-package-name : @exabyte-io/code.js
85+ target-version : ${{ needs.publish-js-package.outputs.release-version }}
You can’t perform that action at this time.
0 commit comments