Skip to content

Commit

Permalink
Updated build pipeline to not fail when there are no changes in the g…
Browse files Browse the repository at this point in the history
…enerated mocks
  • Loading branch information
Jesse Geens committed Sep 30, 2024
1 parent 168ffc5 commit 5ff6347
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
go install github.com/vektra/mockery/[email protected] # Later versions are incompatible with Go 1.21
mockery
git add .
git commit -m 'Generated mock interfaces for https://github.com/cern-eos/grpc-proto/tree/${{ github.sha }}'
git push origin main
git commit -m 'Generated mock interfaces for https://github.com/cern-eos/grpc-proto/tree/${{ github.sha }}' && git push origin main || echo "Nothing to commit"
- name: setup-buf
uses: bufbuild/buf-setup-action@v1
- name: push-buf
Expand Down

0 comments on commit 5ff6347

Please sign in to comment.