update workflow (#2149)

pull/2151/head
meisnate12 5 months ago committed by GitHub
parent dff663fd94
commit f4b19bae5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -188,10 +188,11 @@ jobs:
steps: steps:
- name: Get Description - name: Get Description
env:
DESC: ${{ github.event.pull_request.body }}
id: get-description id: get-description
run: | run: |
body='${{ github.event.pull_request.body }}' body=$(echo "$DESC" | sed -n '/## Description/,/##/{/## Description/b;/##/b;p}')
body=$(echo "$body" | sed -n '/## Description/,/##/{/## Description/b;/##/b;p}')
body=$(echo $body|tr -d '\n') body=$(echo $body|tr -d '\n')
echo "description=$body" >> $GITHUB_OUTPUT echo "description=$body" >> $GITHUB_OUTPUT

Loading…
Cancel
Save