diff options
author | 2022-03-04 15:39:11 -0600 | |
---|---|---|
committer | 2022-03-04 15:39:11 -0600 | |
commit | 33193f9ac63232691bfe63e94704dabc1cbf969d (patch) | |
tree | 5553eeb14a766199effaed40a65a2e75d9e8bc99 | |
parent | e02438ce1fcc106da3e81dcc3f3df5a72f7c64d7 (diff) | |
download | astro-33193f9ac63232691bfe63e94704dabc1cbf969d.tar.gz astro-33193f9ac63232691bfe63e94704dabc1cbf969d.tar.zst astro-33193f9ac63232691bfe63e94704dabc1cbf969d.zip |
fix(ci): prevent double CI runs on `next` branch
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 448180585..bd03084d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - next pull_request: paths-ignore: - '.vscode/**' @@ -224,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.repository_owner == 'withastro' }} + if: ${{ (github.ref_name == 'main' || github.ref_name == 'next') && github.repository_owner == 'withastro' }} needs: [build] runs-on: ubuntu-latest steps: |