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:
2
.github/workflows/preview-env-dispatch.yaml
vendored
2
.github/workflows/preview-env-dispatch.yaml
vendored
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user