mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Only run docker publish when PR is not a fork (#30808)
Co-authored-by: Ian Littman <iansltx@gmail.com>
This commit is contained in:
parent
ad28be9623
commit
5276a08665
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
# Docker will not be available.
|
||||
#
|
||||
# Also not run if author is dependabot (it doesn't have access to Github secrets).
|
||||
if: ${{ (github.repository == 'fleetdm/fleet') && (github.actor != 'dependabot[bot]') }}
|
||||
if: ${{ (github.repository == 'fleetdm/fleet') && (github.actor != 'dependabot[bot]') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
|
||||
runs-on: ubuntu-22.04
|
||||
environment: Docker Hub
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue