chore: Fix check

This commit is contained in:
Sidharth Vinod 2024-09-06 23:25:23 +05:30
parent ab25e9ea7d
commit 58524aceaa
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -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