Skip to content

Commit

Permalink
Merge pull request #785 from CROSSINGTUD/feature/synchronize-branches
Browse files Browse the repository at this point in the history
Add job to synchronize master and develop after deployment
  • Loading branch information
schlichtig authored Dec 17, 2024
2 parents 5379e81 + 96d05f3 commit 94cda45
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 94cda45

Please sign in to comment.