From 62f2f020b4e9c4353ff39f168fc92c58be26d9bb Mon Sep 17 00:00:00 2001 From: Philippe Scorsolini Date: Thu, 2 Nov 2023 14:37:19 +0100 Subject: [PATCH] ci: only push to buf registry on crossplane repo Signed-off-by: Philippe Scorsolini --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 899b21a02d8..aff65ae4b9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -478,7 +478,7 @@ jobs: against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=master,subdir=apis" - name: Push Protocol Buffers to Buf Schema Registry - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/master' && github.repository == 'crossplane/crossplane' uses: bufbuild/buf-push-action@v1 with: input: apis