Merge pull request #3605 from fluxcd/set-output-deprecation

build: ensure newlines work with $GITHUB_OUTPUT
pull/3606/head
Hidde Beydals 2 years ago committed by GitHub
commit 1302fb17c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,12 @@ jobs:
git diff
# export PR_BODY for PR and commit
echo "pr_body=$PR_BODY" >> $GITHUB_OUTPUT
# NB: this may look strange but it is the way it should be done to
# maintain our precious newlines
# Ref: https://github.com/github/docs/issues/21529
echo 'pr_body<<EOF' >> $GITHUB_OUTPUT
echo "${PR_BODY}" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
}
- name: Create Pull Request

Loading…
Cancel
Save