0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00

ci: improve label check (#13291)

This commit is contained in:
Emanuele Stoppa 2025-02-21 15:21:41 +00:00 committed by GitHub
parent b47378b0fc
commit e2bfd7756c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ env:
jobs:
preview:
if: |
${{ github.repository_owner == 'withastro' && contains(github.event.pull_request.labels.*.name, 'pr: preview') }}
${{ github.repository_owner == 'withastro' && github.event.label.name == 'pr: preview' }}
runs-on: ubuntu-latest
permissions:
contents: read