Skip to content

Commit bfa9b8c

Browse files
committed
enhance prepare-maven-release.yml to create and auto-merge pull requests for both main and develop branches
1 parent 7a0980c commit bfa9b8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/prepare-maven-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
GITHUB_ACTOR: ${{ github.actor }}
3535
GITHUB_TOKEN: ${{ github.token }}
3636

37-
- name: Create Pull Request
37+
- name: Create Pull Request (Main)
3838
id: cpr
3939
uses: peter-evans/create-pull-request@v5
4040
with:
@@ -44,7 +44,7 @@ jobs:
4444
body: 'Release ${{ github.event.inputs.releaseVersion }}'
4545
labels: 'release'
4646

47-
- name: Enable Pull Request Automerge
47+
- name: Enable Pull Request Automerge (Main)
4848
run: gh pr merge --merge --auto "${{ steps.cpr.outputs.pull-request-number }}"
4949
env:
5050
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)