From 275abf5465357edf881235a940ac028221d64b26 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Tue, 10 Aug 2021 08:52:10 -0700 Subject: [PATCH] CI fix try 2 (#42) --- .github/workflows/ci.yml | 2 +- .github/workflows/dockerhub-readme.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c43743e9..36dece14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: publish: needs: [verify] if: | - (github.event_name == 'push' && github.event.push.head.repo.full_name == 'Bubka/2fauth') || + (github.event_name == 'push' && github.repository == 'Bubka/2fauth') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Bubka/2fauth' && github.actor != 'dependabot[bot]') runs-on: ubuntu-latest steps: diff --git a/.github/workflows/dockerhub-readme.yml b/.github/workflows/dockerhub-readme.yml index 0fe5510a..9dd0922f 100644 --- a/.github/workflows/dockerhub-readme.yml +++ b/.github/workflows/dockerhub-readme.yml @@ -8,7 +8,7 @@ on: jobs: dockerHubDescription: if: | - (github.event_name == 'push' && github.event.push.head.repo.full_name == 'Bubka/2fauth') || + (github.event_name == 'push' && github.repository == 'Bubka/2fauth') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Bubka/2fauth' && github.actor != 'dependabot[bot]') runs-on: ubuntu-latest steps: