Skip to content

Commit

Permalink
Update create_release_tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman authored Nov 23, 2023
1 parent 62eaacb commit 3e9cd6b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/create_release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: workflow_dispatch

permissions:
contents: write
pull-requests: write

jobs:
create_release_tag:
Expand All @@ -25,13 +26,23 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Prepare release: github-api-${{ steps.release.outputs.version }}"
commit_message: "Prepare release (${{ github.actor }}): github-api-${{ steps.release.outputs.version }}"
tagging_message: 'github-api-${{ steps.release.outputs.version }}'

branch: staging/main

- name: Increment Snapshot Version
run: |
mvn versions:set versions:commit -DnextSnapshot
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Prepare for next development iteration"
commit_message: "Prepare for next development iteration"
branch: staging/main

- name: pull-request to main
uses: repo-sync/pull-request@v2
with:
pr_title: "Prepare release (${{ github.actor }}): github-api-${{ steps.release.outputs.version }}"
source_branch: "staging/main"
destination_branch: "main"
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3e9cd6b

Please sign in to comment.