From f4b19bae5f0fee45ccf38100df956387d56f013b Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 28 Jun 2024 15:43:46 -0400 Subject: [PATCH] update workflow (#2149) --- .github/workflows/validate-pull.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate-pull.yml b/.github/workflows/validate-pull.yml index e45a3fdc..da6c19a9 100644 --- a/.github/workflows/validate-pull.yml +++ b/.github/workflows/validate-pull.yml @@ -188,10 +188,11 @@ jobs: steps: - name: Get Description + env: + DESC: ${{ github.event.pull_request.body }} id: get-description run: | - body='${{ github.event.pull_request.body }}' - body=$(echo "$body" | sed -n '/## Description/,/##/{/## Description/b;/##/b;p}') + body=$(echo "$DESC" | sed -n '/## Description/,/##/{/## Description/b;/##/b;p}') body=$(echo $body|tr -d '\n') echo "description=$body" >> $GITHUB_OUTPUT