From 8b6fa0a9cbff5b0e600f1d2a3024e135b5594db7 Mon Sep 17 00:00:00 2001 From: Sri Krishna Date: Mon, 2 Mar 2026 21:26:37 +0530 Subject: [PATCH 1/4] Push to the BSR Signed-off-by: Sri Krishna --- .github/workflows/buf-ci.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/buf-ci.yaml b/.github/workflows/buf-ci.yaml index d2f80dd6..bb3010dc 100644 --- a/.github/workflows/buf-ci.yaml +++ b/.github/workflows/buf-ci.yaml @@ -14,6 +14,4 @@ jobs: - uses: actions/checkout@v6 - uses: bufbuild/buf-action@v1 with: - # Push and archive are disabled because Protovalidate is managed in https://github.com/bufbuild/modules - push: false - archive: false + token: ${{ secrets.BUF_TOKEN }} From 605ed322fad359e68835dc5ff317cd8abc18ebbd Mon Sep 17 00:00:00 2001 From: Sri Krishna Date: Thu, 12 Mar 2026 18:45:30 +0530 Subject: [PATCH 2/4] Disable push on main --- .github/workflows/buf-ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/buf-ci.yaml b/.github/workflows/buf-ci.yaml index bb3010dc..0c91dc94 100644 --- a/.github/workflows/buf-ci.yaml +++ b/.github/workflows/buf-ci.yaml @@ -15,3 +15,4 @@ jobs: - uses: bufbuild/buf-action@v1 with: token: ${{ secrets.BUF_TOKEN }} + push: ${{ github.ref != 'refs/heads/main' }} From dbcc09f414e9ebacfd5b118f095a8c4835cf701a Mon Sep 17 00:00:00 2001 From: Sri Krishna Date: Thu, 19 Mar 2026 19:04:08 +0530 Subject: [PATCH 3/4] Only push on push Signed-off-by: Sri Krishna --- .github/workflows/buf-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buf-ci.yaml b/.github/workflows/buf-ci.yaml index 0c91dc94..78903dc8 100644 --- a/.github/workflows/buf-ci.yaml +++ b/.github/workflows/buf-ci.yaml @@ -15,4 +15,4 @@ jobs: - uses: bufbuild/buf-action@v1 with: token: ${{ secrets.BUF_TOKEN }} - push: ${{ github.ref != 'refs/heads/main' }} + push: ${{ github.ref != 'refs/heads/main' && github.event_name == 'push' }} From 78ea6aecc99d9f1eb0f1f47310ce84000747898a Mon Sep 17 00:00:00 2001 From: Sri Krishna Date: Thu, 19 Mar 2026 19:04:20 +0530 Subject: [PATCH 4/4] fmt Signed-off-by: Sri Krishna --- .github/workflows/buf-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buf-ci.yaml b/.github/workflows/buf-ci.yaml index 78903dc8..da02209c 100644 --- a/.github/workflows/buf-ci.yaml +++ b/.github/workflows/buf-ci.yaml @@ -15,4 +15,4 @@ jobs: - uses: bufbuild/buf-action@v1 with: token: ${{ secrets.BUF_TOKEN }} - push: ${{ github.ref != 'refs/heads/main' && github.event_name == 'push' }} + push: ${{ github.ref != 'refs/heads/main' && github.event_name == 'push' }}