From 877d7903bd690eed08488ac7f337e683867b7ddd Mon Sep 17 00:00:00 2001 From: Dean Roehrich Date: Thu, 1 Aug 2024 12:35:33 -0500 Subject: [PATCH] Verify auto-gen files in workflow (#74) Signed-off-by: Dean Roehrich --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b90022..3a2c3f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,8 +26,15 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: "Verify auto-generated files" + run: | + make manifests generate generate-go-conversions + if [[ $(git status -s | wc -l) -gt 0 ]]; then \ + git status; exit 1; \ + fi + - name: "Verify CRD conversions" - run: make verify + run: make verify-conversions - name: "Lowercase repository name for docker build" id: lowercase-repository-name