From f5e22d0bd2da3e012dd7a4af116eff073cf68e89 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 10 Nov 2025 15:59:47 +0000 Subject: [PATCH] ci(ci): only send coverage to coveralls on main (#711) --- .github/workflows/ci.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc3019b..f71cfff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,11 +142,7 @@ jobs: run: npm run test:unit:coverage - name: Coveralls parallel - if: > - github.event_name == 'push' || - (github.event_name == 'pull_request' && - github.event.pull_request.head.repo.full_name == github.repository && - github.event.pull_request.user.login != 'dependabot[bot]') + if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6 with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -156,11 +152,7 @@ jobs: coverage: name: Aggregate Coverage Calculations needs: unit-tests - if: > - github.event_name == 'push' || - (github.event_name == 'pull_request' && - github.event.pull_request.head.repo.full_name == github.repository && - github.event.pull_request.user.login != 'dependabot[bot]') + if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest permissions: contents: read