From ee4c1fb36c247c09f386a79b0e8b1492f11c199d Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Wed, 3 Feb 2021 15:20:39 +0100 Subject: [PATCH] Put CHANGELOG URL on new line in commit / PR body Signed-off-by: Hidde Beydals --- .github/workflows/update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e0d7e268..1b771526 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -32,7 +32,8 @@ jobs: go mod edit -require="github.com/fluxcd/$1/api@${RELEASE_VERSION}" fi - PR_BODY="$PR_BODY- $1 to [${RELEASE_VERSION}](https://github.com/fluxcd/$1/blob/${RELEASE_VERSION}/CHANGELOG.md)%0A" + # NB: special URL encoded formatting required for newlines + PR_BODY="$PR_BODY- $1 to ${RELEASE_VERSION}%0A https://github.com/fluxcd/$1/blob/${RELEASE_VERSION}/CHANGELOG.md%0A" fi }