File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 77
88name : test-coverage.yaml
99
10- permissions : read-all
10+ permissions :
11+ contents : read
12+ id-token : write
1113
1214jobs :
1315 test-coverage :
@@ -40,12 +42,12 @@ jobs:
4042
4143 - uses : codecov/codecov-action@v5
4244 with :
43- # Fail if error if not on PR, or if on PR and token is given
45+ # Fail if error if not on PR, or if on PR and token is given--dependabot is treated like fork
4446 fail_ci_if_error : ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
4547 files : ./cobertura.xml
4648 plugins : noop
4749 disable_search : true
48- token : ${{ secrets.CODECOV_TOKEN }}
50+ use_oidc : true
4951
5052 - name : Show testthat output
5153 if : always()
5658
5759 - name : Upload test results
5860 if : failure()
59- uses : actions/upload-artifact@v6
61+ uses : actions/upload-artifact@v7
6062 with :
6163 name : coverage-test-failures
6264 path : ${{ runner.temp }}/package
You can’t perform that action at this time.
0 commit comments