From 51f7f55b9d6df7735c36241133a0481b1062987d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Wed, 7 May 2025 21:27:53 +0200 Subject: [PATCH] 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 --- .github/workflows/preview-env-dispatch.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-env-dispatch.yaml b/.github/workflows/preview-env-dispatch.yaml index 291df4cb6..ffa29591d 100644 --- a/.github/workflows/preview-env-dispatch.yaml +++ b/.github/workflows/preview-env-dispatch.yaml @@ -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: