diff --git a/.github/workflows/master-codecov.yml b/.github/workflows/master-codecov.yml index f2eef68d..17795ad6 100644 --- a/.github/workflows/master-codecov.yml +++ b/.github/workflows/master-codecov.yml @@ -25,3 +25,6 @@ jobs: - name: Generate coverage report run: sbt clean coverage test coverageReport - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 1540bdb3..a1d02b43 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -55,6 +55,9 @@ jobs: - name: Generate coverage report run: sbt clean coverage test coverageReport - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true - name: Run Scalafix check run: sbt fixCheck - name: Run Scapegoat