diff --git a/.github/workflows/bumpVersions.yml b/.github/workflows/bumpVersions.yml index fdc4e08..7f6398b 100644 --- a/.github/workflows/bumpVersions.yml +++ b/.github/workflows/bumpVersions.yml @@ -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 @@ -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 }} @@ -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 }}