From 66f3e249fe90cba366a99fe08f0898af27fe59e6 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Wed, 23 Nov 2022 08:34:19 -0800 Subject: [PATCH] fix: only run docker publish on main repository --- .github/workflows/docker-publish.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index bed46cc7f..efc2bd4a2 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -10,6 +10,7 @@ env: jobs: build-and-push-image: + if: github.repository == 'jackyzha0/quartz' runs-on: ubuntu-latest permissions: contents: read