diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index 52c930a89..566e28e9f 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -6,7 +6,7 @@ on: jobs: preview-release: - if: github.repository == 'huntabyte/bits-ui' && (!github.event.pull_request.draft) + if: github.repository == 'huntabyte/bits-ui' && contains(github.event.pull_request.labels.*.name, 'publish:preview') timeout-minutes: 5 runs-on: ubuntu-latest steps: