File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ on: workflow_dispatch
44
55permissions :
66 contents : write
7+ pull-requests : write
78
89jobs :
910 create_release_tag :
@@ -25,13 +26,23 @@ jobs:
2526
2627 - uses : stefanzweifel/git-auto-commit-action@v5
2728 with :
28- commit_message : " Prepare release: github-api-${{ steps.release.outputs.version }}"
29+ commit_message : " Prepare release (${{ github.actor }}) : github-api-${{ steps.release.outputs.version }}"
2930 tagging_message : ' github-api-${{ steps.release.outputs.version }}'
30-
31+ branch : staging/main
32+
3133 - name : Increment Snapshot Version
3234 run : |
3335 mvn versions:set versions:commit -DnextSnapshot
3436
3537 - uses : stefanzweifel/git-auto-commit-action@v5
3638 with :
37- commit_message : " Prepare for next development iteration"
39+ commit_message : " Prepare for next development iteration"
40+ branch : staging/main
41+
42+ - name : pull-request to main
43+ uses : repo-sync/pull-request@v2
44+ with :
45+ pr_title : " Prepare release (${{ github.actor }}): github-api-${{ steps.release.outputs.version }}"
46+ source_branch : " staging/main"
47+ destination_branch : " main"
48+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments