From e3be7bc9fc736215b3bbe0d52b20f9c66cc65df4 Mon Sep 17 00:00:00 2001 From: Matt Gallo Date: Mon, 23 Sep 2024 10:57:51 -0400 Subject: [PATCH 1/2] fix: ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84a6ac9..912424e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,4 +27,4 @@ jobs: run: yarn # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected - - run: npx nx affected -t lint test build + - run: npx nx affected -t lint test build --base=origin/main --head=${{ github.head_ref || github.ref_name }} From 321a9ed893ced25a03b8e0994b685558d237e5ea Mon Sep 17 00:00:00 2001 From: Matt Gallo Date: Mon, 23 Sep 2024 11:04:30 -0400 Subject: [PATCH 2/2] fix: head branch name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 912424e..23d5e64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,4 +27,4 @@ jobs: run: yarn # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected - - run: npx nx affected -t lint test build --base=origin/main --head=${{ github.head_ref || github.ref_name }} + - run: npx nx affected -t lint test build --base=origin/main --head=origin/${{ github.head_ref || github.ref_name }}