From 473e60c095b5a90fa5f7088db2dbd2894d89a91a Mon Sep 17 00:00:00 2001 From: squidfunk Date: Mon, 24 Feb 2020 23:07:14 +0100 Subject: [PATCH] Disabled publish action for forks --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab2a967dc..3349f9b9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,7 +114,9 @@ jobs: # Publish Python package and Docker image publish: - if: startsWith(github.ref, 'refs/tags') + if: | + github.repository == squidfunk/mkdocs-material && \ + startsWith(github.ref, 'refs/tags') needs: build runs-on: ubuntu-latest steps: