From fa8e8c6dbb638b91a99fab9316c0f87e82f775e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Thu, 20 Mar 2025 14:51:05 +0100 Subject: [PATCH] CI: Enforce updating the CHANGELOG in the CI Currently, this is only returning warnings, but we seem to just skip them. As it's possible to merge PRs when the CI is red, issuing an error would help us to think about populating this file. --- .github/workflows/check_pr.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index 0ced5ea..d3c7dd1 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -31,5 +31,6 @@ jobs: shell: bash run: | if git diff --exit-code "origin/${BASE_REF}" -- CHANGELOG.md; then - echo "::warning::No CHANGELOG.md modifications were found in this pull request." - fi \ No newline at end of file + echo "::error::No CHANGELOG.md modifications were found in this pull request." + return -1; + fi