Skip to content

Commit 305dea5

Browse files
authored
Update resolve-version.yml
1 parent 02ae144 commit 305dea5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/resolve-version.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,11 @@ jobs:
6565
github_token: ${{ secrets.GH_TOKEN }}
6666
commit_message: '[ci skip] New SNAPSHOT - ${{ env.SNAPSHOT_VERSION }}'
6767
target_branch: master
68+
- name: Create Pull Request for new SNAPSHOT
69+
if: env.DIFF_VERSION == '1' && env.PROJECT_VERSION != env.SNAPSHOT_VERSION
70+
uses: peter-evans/create-pull-request@v4
71+
with:
72+
title: 'New SNAPSHOT - ${{ env.SNAPSHOT_VERSION }}'
73+
commit-message: '[ci skip] New SNAPSHOT - ${{ env.SNAPSHOT_VERSION }}'
74+
branch: ci/version/${{ env.SNAPSHOT_VERSION }}
75+
delete-branch: true

0 commit comments

Comments
 (0)