Skip to content

Commit

Permalink
ci: only push to buf registry on crossplane repo
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Scorsolini <[email protected]>
  • Loading branch information
phisco authored and negz committed Nov 2, 2023
1 parent 0f58a55 commit 62f2f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62f2f02

Please sign in to comment.