From d809858f4e558e9dae20c79a13f33207cd0ff108 Mon Sep 17 00:00:00 2001 From: Luke Heath Date: Tue, 26 Sep 2023 12:02:50 -0500 Subject: [PATCH] Revert docker publish filtering on pull requests (#14125) --- .github/workflows/goreleaser-snapshot-fleet.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/goreleaser-snapshot-fleet.yaml b/.github/workflows/goreleaser-snapshot-fleet.yaml index e4f7577497..99ac392cd5 100644 --- a/.github/workflows/goreleaser-snapshot-fleet.yaml +++ b/.github/workflows/goreleaser-snapshot-fleet.yaml @@ -31,8 +31,8 @@ jobs: # Only run it when the push is to the fleetdm/fleet repo. Otherwise the secrets for pushing to # Docker will not be available. # - # Also do not run if author is dependabot or is on a fork (it doesn't have access to Github secrets). - if: ${{ (github.repository == 'fleetdm/fleet') && (github.actor != 'dependabot[bot]') && ((github.event_name == 'push' && github.ref_name == 'main') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) }} + # Also not run if author is dependabot (it doesn't have access to Github secrets). + if: ${{ (github.repository == 'fleetdm/fleet') && (github.actor != 'dependabot[bot]') }} runs-on: ubuntu-20.04 environment: Docker Hub steps: