Skip to content

Commit

Permalink
Revert docker publish filtering on pull requests (#14125)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeheath authored and roperzh committed Oct 4, 2023
1 parent 216ee54 commit d5116bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser-snapshot-fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d5116bc

Please sign in to comment.