summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9c9de5277..cd7b71311 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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: