Skip to content

Commit bb6a91b

Browse files
committed
update workflow
1 parent 43fa86f commit bb6a91b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/on-version-update.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,29 @@ jobs:
2828
with:
2929
tag-prefix: ''
3030
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
31+
32+
create-version-update-pr:
33+
name: "Create Version Update PR"
34+
runs-on: ubuntu-latest
35+
needs: bump-version
36+
37+
steps:
38+
- name: Checkout Repo
39+
uses: actions/checkout@v2
40+
with:
41+
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
42+
ref: develop
43+
44+
- name: Hard Reset Master
45+
run: |
46+
git fetch origin master:master
47+
git reset --hard master
48+
49+
- name: Create PR
50+
uses: peter-evans/create-pull-request@v3
51+
with:
52+
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
53+
branch: version-update
54+
delete-branch: true
55+
base: develop
56+
title: 'Version Update PR'

0 commit comments

Comments
 (0)