diff --git a/scripts/check-newsfragments b/scripts/check-newsfragments index 59175536..c89b8573 100755 --- a/scripts/check-newsfragments +++ b/scripts/check-newsfragments @@ -7,7 +7,6 @@ pr="$PULL_REQUEST_NUMBER" echo -e "+++ \033[32mChecking newsfragments for PR #$pr\033[m" -set -e failed=0 matched=0 @@ -29,7 +28,6 @@ find changelogs -regex '.*/[0-9]+\.[^/]+$' | while read f; do fi done - if [[ -n "$pr" && "$matched" -eq 0 ]]; then echo -e "\e[31mERROR: Did not find a news fragment with the right number: expected changelogs/*/newsfragments/$pr.*\e[39m" >&2 failed=1