diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 8988207e..3a369a59 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -7,7 +7,9 @@ on: branches: [main, master] name: test-coverage.yaml -permissions: read-all +permissions: + contents: read + id-token: write jobs: test-coverage: @@ -23,6 +25,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: r-lib/actions/setup-r@v2 with: @@ -58,7 +62,8 @@ jobs: files: ./cobertura.xml plugins: noop disable_search: true - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true + verbose: true - name: Show testthat output if: always()