diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd03084d4..f5852d811 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: