Skip to content

Commit

Permalink
ci: improve label check (#13291)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Feb 21, 2025
1 parent b47378b commit e2bfd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2bfd77

Please sign in to comment.