From c6b4ea631b9d9bf5e6329ba38f8b4d247aa795e6 Mon Sep 17 00:00:00 2001 From: Tyler <48813565+technicallyty@users.noreply.github.com> Date: Wed, 4 Sep 2024 15:13:21 -0700 Subject: [PATCH] only on proto path --- .github/workflows/buf_breaking.yml | 2 ++ .github/workflows/buf_push.yml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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