Skip to content

Commit

Permalink
fix: handle no proto and check against main
Browse files Browse the repository at this point in the history
  • Loading branch information
NNcrawler committed Mar 29, 2021
1 parent e72dda1 commit b500a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- uses: wizhi/setup-buf@v1
with:
version: 0.40.0
- run: buf breaking --against '.git#branch=raccoon-proto'
- run: git ls-tree -r main | grep '.*\.proto$' >/dev/null && buf breaking --against .git#branch=main

0 comments on commit b500a51

Please sign in to comment.