Skip to content

Commit

Permalink
update workflow (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 authored Jun 28, 2024
1 parent dff663f commit f4b19ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/validate-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4b19ba

Please sign in to comment.