From f5f65d534a4ba0810892a6769d748423372da8d5 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sun, 5 Jun 2022 16:01:40 +0000 Subject: [PATCH] fix(ci): publish job trigger fixed --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36c2805b..e8bf243a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,12 +93,11 @@ jobs: publish: if: | - github.event.pull_request.head.repo.full_name == github.repository && github.repository == 'qdm12/gluetun' && ( github.event_name == 'push' || github.event_name == 'release' || - (github.event_name == 'pull_request' && github.actor != 'dependabot[bot]') + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') ) needs: [verify, codeql] permissions: