fix(ci): open changesets from next

This commit is contained in:
Nate Moore 2022-03-04 15:50:30 -06:00
parent 33193f9ac6
commit 1aa4b49fdd

View file

@ -223,7 +223,7 @@ jobs:
# We download all `dist/` artifacts from GitHub to skip the build process.
changelog:
name: Changelog PR or Release
if: ${{ (github.ref_name == 'main' || github.ref_name == 'next') && github.repository_owner == 'withastro' }}
if: ${{ (github.ref_name == 'main' || github.head_ref == 'next') && github.repository_owner == 'withastro' }}
needs: [build]
runs-on: ubuntu-latest
steps: