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