mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Revert docker publish filtering on pull requests (#14125)
This commit is contained in:
parent
b2938d1d53
commit
d809858f4e
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue