From 794b91207ccb2a55275453c3ee696e4d4317f980 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) --- .github/workflows/static_checks_etc.yml | 2 ++ changelog/18.0/README.md | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/static_checks_etc.yml b/.github/workflows/static_checks_etc.yml index 5ad5f7ec730..6b708f0aea1 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 diff --git a/changelog/18.0/README.md b/changelog/18.0/README.md index c12db42b0b6..5b691530084 100644 --- a/changelog/18.0/README.md +++ b/changelog/18.0/README.md @@ -1 +1,2 @@ ## v18.0 +* **[18.0.0](18.0.0)**