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: jobs:
preview: preview:
if: | if: ${{ github.repository_owner == 'mermaid-js' }}
${{ github.repository_owner == 'mermaid-js' && github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read