diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index 2ca6550..338f8eb 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -4,28 +4,15 @@ on: pull_request: types: [opened, synchronize, closed] branches: [main, master] - pull_request_target: - types: [opened, synchronize, closed] - branches: [main, master] push: tags: - '*.*.*' + branches: [main, master] jobs: flowzone: name: Flowzone - uses: product-os/flowzone/.github/workflows/flowzone.yml@fd087eb8f1d5f40720f4a01aad28821a4fcd738f # v22.12.91 - # 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' - ) || ( - github.event_name == 'push' - ) + uses: product-os/flowzone/.github/workflows/flowzone.yml@e0ec2375c91683be2cfe8cbae4289623c61ec6b1 # v23.0.8 secrets: GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }} DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}