From f5a955a47ae4ef69428d18f61a29bb4e84dd887e Mon Sep 17 00:00:00 2001 From: Will Vedder Date: Thu, 20 Jun 2024 17:51:29 -0400 Subject: [PATCH] CI: prevent uncommitted artifact changes (#174) Initial commit of preventing uncommitted diffs --- .github/workflows/review.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/review.yaml b/.github/workflows/review.yaml index a77023b7..736f5f3d 100644 --- a/.github/workflows/review.yaml +++ b/.github/workflows/review.yaml @@ -3,7 +3,7 @@ on: pull_request: branches: - main - - feat/abac + - feat/* permissions: contents: read @@ -36,9 +36,8 @@ jobs: version: "1.28.1" - name: "Generate OpenAPI & Diff" run: | - ./buf.gen.yaml - ./scripts/update_swagger.sh docs/openapiv2/apidocs.swagger.json - git diff --text --exit-code docs/openapiv2/apidocs.swagger.json + make all + git diff --text --exit-code docs/openapiv2/apidocs.swagger.json proto/**/*.go validate-openapi: runs-on: ubuntu-latest