Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Sep 4, 2021
1 parent 3038454 commit cca16d5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/on-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,29 @@ jobs:
with:
tag-prefix: ''
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}

create-version-update-pr:
name: "Create Version Update PR"
runs-on: ubuntu-latest
needs: bump-version

steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
ref: develop

- name: Hard Reset Master
run: |
git fetch origin master:master
git reset --hard master
- name: Create PR
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
branch: version-update
delete-branch: true
base: develop
title: 'Version Update PR'

0 comments on commit cca16d5

Please sign in to comment.