From 94382ee418e130dd9e8686a11eb373fd2e72e101 Mon Sep 17 00:00:00 2001 From: koenkk Date: Tue, 5 Mar 2024 21:19:56 +0100 Subject: [PATCH] chore: fix ci --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d97dea23..51cb6991 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + if: (github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/')) && github.event_name == 'push' with: # Required for `release: merge dev -> master and promote dev` token: ${{secrets.GH_TOKEN}} + - uses: actions/checkout@v4 + if: !((github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/')) && github.event_name == 'push') - uses: actions/setup-node@v4 with: node-version: 20