diff --git a/.github/workflows/release-preview.yml b/.github/workflows/release-preview.yml index 1f54774ef7..283c316fbc 100644 --- a/.github/workflows/release-preview.yml +++ b/.github/workflows/release-preview.yml @@ -14,8 +14,7 @@ permissions: jobs: preview: - if: | - ${{ github.repository_owner == 'mermaid-js' && github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview') }} + if: ${{ github.repository_owner == 'mermaid-js' }} runs-on: ubuntu-latest permissions: contents: read