Skip to content

Commit 467ee94

Browse files
authored
Merge pull request #74 from secure-software-engineering/synchronize
Action: Add job that synchronizes master and develop
2 parents 53ec452 + ca13f87 commit 467ee94

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,18 @@ jobs:
2828
SIGN_KEY_PASS: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
2929
OSSRH_USERNAME: ${{ secrets.SONATYPE_USER }}
3030
OSSRH_PASSWORD: ${{ secrets.SONATYPE_PW }}
31+
32+
synchronize:
33+
runs-on: ubuntu-latest
34+
needs: deployment
35+
steps:
36+
- name: Checkout source code
37+
uses: actions/checkout@v4
38+
with:
39+
fetch-depth: 0
40+
41+
- name: Synchronize master and develop
42+
run: |
43+
gh pr create -B develop -H master -t "Synchronize version in master and develop" -b "Update the version in `develop` from `master`"
44+
env:
45+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)