fix: use ref_name for changeset

This commit is contained in:
Nate Moore 2021-12-16 16:48:09 -06:00
parent a4a6b7d871
commit 7a3819cfa9

View file

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