Fix condition for preview apps (#11933)

Followup after https://github.com/twentyhq/twenty/pull/11869

We do want to launch previews on every PR. The label is just there to
force a re-launch
This commit is contained in:
Félix Malfait
2025-05-07 21:27:53 +02:00
committed by GitHub
parent c4482f6be6
commit 51f7f55b9d

View File

@ -23,7 +23,7 @@ jobs:
contents: write
actions: write
pull-requests: read
if: contains(github.event.pull_request.labels.*.name, 'preview')
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.action == 'reopened' || (github.event.action == 'labeled' && github.event.label.name == 'preview-app')
timeout-minutes: 5
runs-on: ubuntu-latest
steps: