Skip to content

Commit

Permalink
Make Static Code Checks Etc fail if the ./changelog folder is out…
Browse files Browse the repository at this point in the history
…-of-date (#14003)

Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Sep 18, 2023
1 parent cee1662 commit f4cb56f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/static_checks_etc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,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')
Expand Down Expand Up @@ -215,4 +216,5 @@ jobs:
echo 'We wish to maintain a consistent changelog directory, please run `go run ./go/tools/releases/releases.go`, commit and push again.'
echo 'Running `go run ./go/tools/releases/releases.go` on CI yields the following changes:'
echo "$output"
echo ""
echo ""
exit 1

0 comments on commit f4cb56f

Please sign in to comment.