Skip to content

Commit

Permalink
Add job to synchronize master and develop after deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
smeyer198 committed Dec 17, 2024
1 parent 7cc5cc2 commit 96d05f3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ jobs:
OSSRH_USERNAME: ${{ secrets.SONATYPE_USER }}
OSSRH_PASSWORD: ${{ secrets.SONATYPE_PW }}

synchronize:
runs-on: ubuntu-latest
needs: deployment
steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Synchronize master and develop
run: |
gh pr create -B develop -H master -t "Synchronize version in master and develop" -b "Update the version in `develop` from `master`"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release:
runs-on: ubuntu-latest
needs: deployment
Expand Down

0 comments on commit 96d05f3

Please sign in to comment.