Skip to content

Commit

Permalink
need labels
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianGonz97 committed Jul 18, 2024
1 parent ead6025 commit 8f288f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Publish Preview Release
on:
label:
pull_request:
types: [ready_for_review, synchronize, opened, labeled]
paths: packages/**

jobs:
preview-release:
if: github.repository == 'huntabyte/bits-ui'
if: github.repository == 'huntabyte/bits-ui' && (!github.event.pull_request.draft && github.event.pull_request.labels.name == 'publish:preview')
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 8f288f1

Please sign in to comment.