Skip to content

Commit

Permalink
Merge pull request #3 from balena-os/klutchell-patch-1
Browse files Browse the repository at this point in the history
prevent duplicate workflow executions
  • Loading branch information
aethernet committed Feb 2, 2024
2 parents f878734 + 7b8715d commit bc23ad9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,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:
# We don't make releases out of this repo
Expand Down

0 comments on commit bc23ad9

Please sign in to comment.