diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 9e53231d..f4b15767 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -53,3 +53,5 @@ runs: - name: Derive appropriate SHAs for base and head for `nx affected` commands uses: nrwl/nx-set-shas@v4 + with: + main-branch-name: 'develop' \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42794c56..995f9fd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,8 @@ jobs: - name: Derive appropriate SHAs for base and head for `nx affected` commands uses: nrwl/nx-set-shas@v4 + with: + main-branch-name: 'develop' - run: pnpm exec nx-cloud record -- nx format:check - run: pnpm exec nx affected -t lint test build e2e --exclude=smoke --codeCoverage diff --git a/nx.json b/nx.json index 0b7b6f4c..b515ab32 100644 --- a/nx.json +++ b/nx.json @@ -93,5 +93,5 @@ ], "sharedGlobals": ["{workspaceRoot}/.nx/workflows/**/**"] }, - "defaultBase": "origin/develop" + "defaultBase": "develop" }