Skip to content

Commit

Permalink
ci: remove template, add more info (#13248)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Feb 14, 2025
1 parent 55b1f71 commit c60d4a7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Preview release

on:
pull_request:
types: [labeled]
branches: [main]
types: [opened, synchronize, labeled, ready_for_review]

concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}
Expand All @@ -24,7 +25,7 @@ env:
jobs:
preview:
if: |
${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview') }}
${{ github.repository_owner == 'withastro' && contains(github.event.pull_request.labels.*.name, 'pr: preview') }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -77,4 +78,4 @@ jobs:

- name: Publish packages
run: |
pnpx pkg-pr-new publish --pnpm --compact 'packages/astro' 'packages/integrations/node' 'packages/integrations/cloudflare' 'packages/integrations/netlify' 'packages/integrations/vercel'
pnpx pkg-pr-new publish --pnpm --compact --no-template 'packages/astro' 'packages/integrations/node' 'packages/integrations/cloudflare' 'packages/integrations/netlify' 'packages/integrations/vercel'

0 comments on commit c60d4a7

Please sign in to comment.