Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Added step to create a PR from release to master after deployment to …
Browse files Browse the repository at this point in the history
…sync changes back
  • Loading branch information
bastianschwarz committed Dec 16, 2020
1 parent 4beab81 commit a107d6f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
status: ${{ job.status }}
deployment_id: ${{ steps.start_deployment.outputs.deployment_id }}

update_changelog_in_default_branch:
name: Update changelog in default branch after published release
update_default_branch:
name: Update default branch after published release
runs-on: ubuntu-latest
needs: deploy
steps:
Expand All @@ -81,6 +81,13 @@ jobs:
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create pull request
uses: repo-sync/pull-request@v2
with:
destination_branch: "master"
pr_title: "[Deployment] Update default branch"
github_token: ${{ secrets.GITHUB_TOKEN }}

rollback_on_failure:
name: Rollback on failure
Expand Down

0 comments on commit a107d6f

Please sign in to comment.