From 1f2b48bb51653d67c9f8ced9e226b68f5b36c5d2 Mon Sep 17 00:00:00 2001 From: a5r0n <32464596+a5r0n@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:48:26 +0300 Subject: [PATCH] --- .github/workflows/ci-version-bump.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-version-bump.yml b/.github/workflows/ci-version-bump.yml index 9815867..6df5a0e 100644 --- a/.github/workflows/ci-version-bump.yml +++ b/.github/workflows/ci-version-bump.yml @@ -62,7 +62,8 @@ jobs: - name: Comment on PR if: github.event_name == 'pull_request' - run: | - PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH") - COMMENT_BODY="Next version to publish after this PR is merged: $NEW_VERSION" - gh pr comment $PR_NUMBER --body "$COMMENT_BODY" + uses: thollander/actions-comment-pull-request@v3 + with: + message: | + Next version to publish after this PR is merged: `${{ steps.bump-version.outputs.NEW_VERSION }}` + comment_tag: next_version \ No newline at end of file