update workflow (#2149)

pull/2151/head
meisnate12 6 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:
- 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

Loading…
Cancel
Save