@@ -112,7 +112,7 @@ jobs:
112112
113113 return nightlyVersion;
114114
115- - name : Bump version and publish
115+ - name : Bump version
116116 if : steps.changes.outputs.result == 'ok'
117117 env :
118118 VERSION : ${{ steps.version.outputs.result }}
@@ -126,7 +126,26 @@ jobs:
126126 git add .
127127 git commit -m "v${VERSION}" && npx lerna version ${VERSION} --exact --ignore-scripts --no-commit-hooks --yes --amend --force-publish || npx lerna version ${VERSION} --exact --ignore-scripts --no-commit-hooks --yes --force-publish
128128 npx lerna publish from-package --yes --dist-tag dev
129- git push
129+
130+ - name : Create Pull Request
131+ if : steps.changes.outputs.result == 'ok'
132+ id : cpr
133+ uses : peter-evans/create-pull-request@v4
134+ with :
135+ token : ${{ secrets.GITHUB_TOKEN }}
136+ commit-message : " [NIGHTLY DEV RELEASE] ${{ steps.version.outputs.result }}"
137+ committer : GitHub <noreply@github.com>
138+ author : foxriver76 <moritz.heusinger@gmail.com>
139+ signoff : false
140+ branch : nightly-release
141+ delete-branch : true
142+ title : ${{ steps.version.outputs.result }}
143+ body : |
144+ Update version by nightly dev release
145+ labels : |
146+ automated pr
147+ assignees : foxriver76
148+ draft : false
130149
131150 - name : Create Github Release
132151 if : steps.changes.outputs.result == 'ok'
@@ -154,3 +173,5 @@ jobs:
154173 sentry-cli releases new $SENTRY_VERSION
155174 sentry-cli releases set-commits $SENTRY_VERSION --auto
156175 sentry-cli releases finalize $SENTRY_VERSION
176+
177+
0 commit comments