From 1f0e619096f111e4592599cb3987e7e86ed0c9ba Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Fri, 31 Oct 2025 13:17:41 +0000 Subject: [PATCH 1/3] chore: allow forks to run local atlas --- .github/workflows/code-health-fork.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/code-health-fork.yml b/.github/workflows/code-health-fork.yml index ab36e7b31..dbb24bf48 100644 --- a/.github/workflows/code-health-fork.yml +++ b/.github/workflows/code-health-fork.yml @@ -41,3 +41,24 @@ jobs: with: name: test-results path: coverage/lcov.info + run-atlas-local-tests: + name: Run Atlas Local tests + if: github.event.pull_request.user.login == 'dependabot[bot]' + runs-on: ubuntu-latest + steps: + - uses: GitHubSecurityLab/actions-permissions/monitor@v1 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v4 + with: + node-version-file: package.json + cache: "npm" + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm test -- tests/integration/tools/atlas-local/ + - name: Upload test results + uses: actions/upload-artifact@v4 + if: always() + with: + name: atlas-local-test-results + path: coverage/lcov.info From e2437c49d1465e0b11754e98ce6487818557d0b9 Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Tue, 11 Nov 2025 18:51:10 +0000 Subject: [PATCH 2/3] address comment: remove coverage upload --- .github/workflows/code-health-fork.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/code-health-fork.yml b/.github/workflows/code-health-fork.yml index dbb24bf48..3bd871381 100644 --- a/.github/workflows/code-health-fork.yml +++ b/.github/workflows/code-health-fork.yml @@ -35,12 +35,6 @@ jobs: run: npm ci - name: Run tests run: npm test - - name: Upload test results - if: always() && matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v4 - with: - name: test-results - path: coverage/lcov.info run-atlas-local-tests: name: Run Atlas Local tests if: github.event.pull_request.user.login == 'dependabot[bot]' @@ -55,10 +49,4 @@ jobs: - name: Install dependencies run: npm ci - name: Run tests - run: npm test -- tests/integration/tools/atlas-local/ - - name: Upload test results - uses: actions/upload-artifact@v4 - if: always() - with: - name: atlas-local-test-results - path: coverage/lcov.info + run: npm test -- tests/integration/tools/atlas-local/ \ No newline at end of file From 9841a925889c643e8538a24e891a5c8710907ade Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Tue, 11 Nov 2025 18:51:40 +0000 Subject: [PATCH 3/3] reformat --- .github/workflows/code-health-fork.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-health-fork.yml b/.github/workflows/code-health-fork.yml index 3bd871381..43aad0d72 100644 --- a/.github/workflows/code-health-fork.yml +++ b/.github/workflows/code-health-fork.yml @@ -49,4 +49,4 @@ jobs: - name: Install dependencies run: npm ci - name: Run tests - run: npm test -- tests/integration/tools/atlas-local/ \ No newline at end of file + run: npm test -- tests/integration/tools/atlas-local/