From 9bed61ec6f30c3e9df0943c3f43474be5c2aaca4 Mon Sep 17 00:00:00 2001 From: Florent Poinsard <35779988+frouioui@users.noreply.github.com> Date: Sat, 16 Sep 2023 15:00:55 -0400 Subject: [PATCH] Make `Static Code Checks Etc` fail if the `./changelog` folder is out-of-date (#14003) Signed-off-by: Florent Poinsard --- .github/workflows/static_checks_etc.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/static_checks_etc.yml b/.github/workflows/static_checks_etc.yml index 914f4f6e5ea..fd08aaeb78e 100644 --- a/.github/workflows/static_checks_etc.yml +++ b/.github/workflows/static_checks_etc.yml @@ -102,6 +102,7 @@ jobs: release_notes: - 'changelog/**' - './go/tools/releases/**' + - '.github/workflows/static_checks_etc.yml' - name: Set up Go if: steps.skip-workflow.outputs.skip-workflow == 'false' && (steps.changes.outputs.go_files == 'true' || steps.changes.outputs.parser_changes == 'true' || steps.changes.outputs.proto_changes == 'true') @@ -218,3 +219,4 @@ jobs: echo 'Running `go run ./go/tools/releases/releases.go` on CI yields the following changes:' echo "$output" echo "" + exit 1