From a5ded6e7559f499bf675a58bf7d6202977eb1d75 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 18 Jul 2024 12:45:29 +0200 Subject: [PATCH] Fix messaging --- scripts/check-changelog.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check-changelog.sh b/scripts/check-changelog.sh index 0d08e46df8..6637d5bbe9 100755 --- a/scripts/check-changelog.sh +++ b/scripts/check-changelog.sh @@ -5,15 +5,15 @@ CHANGELOG_FILE="${1:-CHANGES.md}" if [ "${NO_CHANGELOG_LABEL}" = "true" ]; then # 'no changelog' set, so finish successfully - echo $'::info no changelog label has been set' + echo "\"no changelog\" label has been set" exit 0 else # a changelog check is required # fail if the diff is empty if git diff --exit-code "origin/${BASE_REF}" -- "${CHANGELOG_FILE}"; then - >&2 echo $'::warning Changes should come with an entry in the CHANGELOG.md file. This behavior + >&2 echo "Changes should come with an entry in the CHANGELOG.md file. This behavior can be overridden by using the \"no changelog\" label, which is used for changes -that trivial / explicitely decided not to need a changelog entry.' +that are trivial / explicitely stated not to require a changelog entry." exit 1 fi fi