diff options
author | 2025-02-21 15:21:41 +0000 | |
---|---|---|
committer | 2025-02-21 15:21:41 +0000 | |
commit | e2bfd7756c93b9d2e4ba14889088bcc9eb5ae640 (patch) | |
tree | 5d539a4fc98b58906772cd220c5d644d4dccb903 /.github/workflows/preview-release.yml | |
parent | b47378b0fc386c15af7299fd9b2b9d1d1310f25d (diff) | |
download | astro-e2bfd7756c93b9d2e4ba14889088bcc9eb5ae640.tar.gz astro-e2bfd7756c93b9d2e4ba14889088bcc9eb5ae640.tar.zst astro-e2bfd7756c93b9d2e4ba14889088bcc9eb5ae640.zip |
ci: improve label check (#13291)
Diffstat (limited to '.github/workflows/preview-release.yml')
-rw-r--r-- | .github/workflows/preview-release.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index fc191f6b4..125d49961 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -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 |