From ade8fe079fb6e58664c958994d40fb9c91061851 Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 29 Feb 2024 22:12:43 +0100 Subject: [PATCH] Report test coverage for all branches, not just `master` Signed-off-by: Niklas Signed-off-by: Mikael Carneholm --- .github/workflows/ci-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-test.yaml b/.github/workflows/ci-test.yaml index 48f25eb490..9867020656 100644 --- a/.github/workflows/ci-test.yaml +++ b/.github/workflows/ci-test.yaml @@ -46,7 +46,7 @@ jobs: mvn test -P enhance - name: Publish test coverage - if: ${{ github.ref == 'refs/heads/master' && contains(github.repository, 'DependencyTrack/') }} + if: ${{ contains(github.repository, 'DependencyTrack/') }} uses: codacy/codacy-coverage-reporter-action@v1.3.0 with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}