Skip to content

Commit

Permalink
CI: prevent uncommitted artifact changes (#174)
Browse files Browse the repository at this point in the history
Initial commit of preventing uncommitted diffs
  • Loading branch information
willvedd committed Jun 20, 2024
1 parent ed30a57 commit f5a955a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
branches:
- main
- feat/abac
- feat/*

permissions:
contents: read
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f5a955a

Please sign in to comment.