From 81fbd38b96c14e46d6a0be9b0a369576c8512f09 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 21 Mar 2021 14:07:55 +0100 Subject: [PATCH] Updated workflows --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3fa065910..edcdac073 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ env: jobs: publish_pypi: name: Build and push Python package - if: github.event.pull_request.head.repo.fork == false + if: github.event.repository.fork == false runs-on: ubuntu-latest steps: @@ -56,7 +56,7 @@ jobs: publish_docker: name: Build and push Docker image - if: github.event.pull_request.head.repo.fork == false + if: github.event.repository.fork == false runs-on: ubuntu-latest steps: