From a0f0a7ebe5605099226d2ac7c1da585f1784c657 Mon Sep 17 00:00:00 2001 From: Suyashtnt Date: Mon, 25 Mar 2024 12:16:19 +0200 Subject: [PATCH] fix(ci): fix default branch name --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af5e8ca..34488cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,9 @@ jobs: - run: pnpm i --frozen-lockfile - uses: nrwl/nx-set-shas@v3 + with: + main-branch-name: 'dev' + # This line is needed for nx affected to work when CI is running on a PR - name: Checkout default branch if: github.ref != 'refs/heads/dev'