Skip to content

Commit

Permalink
Better automated PR titles with exact version number (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn authored Oct 30, 2023
1 parent 5cf9a81 commit 76ec116
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bumpVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
version: v0.54.0

- name: Set ENV
- name: Set required environment variables
run: |
echo "ACTIVEMQ_BASE_VERSION=${{ matrix.activemq_base_version }}" >> $GITHUB_ENV
echo "ACTIVEMQ_VERSION=$(jq -r '.activemq_version' versions/activemq-${{ matrix.activemq_base_version }}.json)" >> $GITHUB_ENV
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
id: auto-commit-action
with:
branch: bump-activemq-${{ matrix.activemq_base_version }}
branch: bump-activemq-${{ env.ACTIVEMQ_VERSION }}
create_branch: true
push_options: '--force'
commit_user_name: ${{ vars.BOT_GITHUB_USERNAME }}
Expand All @@ -57,7 +57,7 @@ jobs:
if: steps.auto-commit-action.outputs.changes_detected == 'true'
run: |
if ! gh pr view --json url --jq .url; then
gh pr create --title "Bump activemq-${{ matrix.activemq_base_version }}" --body "Freshly served thanks to updatecli and GitHub Actions"
gh pr create --title "Bump activemq to ${{ env.ACTIVEMQ_VERSION }}" --body "Freshly served thanks to updatecli and GitHub Actions"
fi
env:
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}

0 comments on commit 76ec116

Please sign in to comment.