diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 76aa5b51..743b4490 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,6 +46,8 @@ jobs: - name: Setup NX 1/2 🎛️ uses: nrwl/nx-set-shas@v4 + with: + main-branch-name: master # This step is needed for nx affected to work when CI is running on a PR # See also https://nx.dev/ci/recipes/set-up/monorepo-ci-github-actions#configuring-ci-using-github-actions-and-nx diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 79c5d995..6713fb72 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,8 @@ jobs: - name: Setup NX 1/2 🎛️ uses: nrwl/nx-set-shas@v4 + with: + main-branch-name: master # This step is needed for nx affected to work when CI is running on a PR # See also https://nx.dev/ci/recipes/set-up/monorepo-ci-github-actions#configuring-ci-using-github-actions-and-nx