mirror of
https://github.com/balena-io/open-balena.git
synced 2025-01-30 08:03:57 +00:00
flowzone.yml: Prevent duplicate workflow executions
Change-type: patch
This commit is contained in:
parent
412e3fc3d2
commit
8224f0826f
9
.github/workflows/flowzone.yml
vendored
9
.github/workflows/flowzone.yml
vendored
@ -13,6 +13,15 @@ jobs:
|
||||
flowzone:
|
||||
name: Flowzone
|
||||
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
|
||||
# prevent duplicate workflow executions for pull_request and pull_request_target
|
||||
if: |
|
||||
(
|
||||
github.event.pull_request.head.repo.full_name == github.repository &&
|
||||
github.event_name == 'pull_request'
|
||||
) || (
|
||||
github.event.pull_request.head.repo.full_name != github.repository &&
|
||||
github.event_name == 'pull_request_target'
|
||||
)
|
||||
secrets: inherit
|
||||
with:
|
||||
cloudflare_website: "open-balena"
|
||||
|
Loading…
x
Reference in New Issue
Block a user