diff --git a/.github/workflows/buf_breaking.yml b/.github/workflows/buf_breaking.yml index 173c36580..00a14ed3f 100644 --- a/.github/workflows/buf_breaking.yml +++ b/.github/workflows/buf_breaking.yml @@ -3,6 +3,8 @@ name: Proto Breaking on: pull_request: branches: [ main ] + paths: + - proto/** jobs: build: diff --git a/.github/workflows/buf_push.yml b/.github/workflows/buf_push.yml index 831d09e48..3c3304f96 100644 --- a/.github/workflows/buf_push.yml +++ b/.github/workflows/buf_push.yml @@ -1,10 +1,12 @@ name: BSR Push on: - # Apply to all pushes on 'main' branch + # Apply to pushes on 'main' branch that affect the 'proto' directory push: branches: - main + paths: + - proto/** jobs: build: runs-on: ubuntu-latest