From 9594a28a4c395f9dcadc62bfc72cf23c83fce49d Mon Sep 17 00:00:00 2001 From: Timmy Jose Date: Wed, 26 Jun 2024 12:30:09 +0530 Subject: [PATCH] fix: move pr info details from `run` to `env` vars --- .github/workflows/release.pr.merge.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.pr.merge.yml b/.github/workflows/release.pr.merge.yml index 43160fc..3c6bbe2 100644 --- a/.github/workflows/release.pr.merge.yml +++ b/.github/workflows/release.pr.merge.yml @@ -23,12 +23,14 @@ jobs: - run: git config --global user.name "Polybase CI" - name: Get PR Info + env: + PR_TITLE: ${{ github.event.pull_request.title }} + PR_DESC: ${{ github.event.pull_request.body }} + PR_BRANCH: ${{ github.event.pull_request.head.ref }} + run: | - PR_TITLE="${{ github.event.pull_request.title }}" - PR_DESC="${{ github.event.pull_request.body }}" - PR_BRANCH="${{ github.event.pull_request.head.ref }}" PR_VERSION="${PR_BRANCH#*release-}" - + echo "PR Title: $PR_TITLE" echo "PR Description: $PR_DESC" echo "PR Branch: $PR_BRANCH"