Skip to content

Commit abc2b8a

Browse files
add OIDC codecov (#83)
## Changes Testing OIDC for Codecov publishing
1 parent 93e79cd commit abc2b8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/push.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ on:
1414
branches:
1515
- main
1616

17+
permissions:
18+
id-token: write
1719
jobs:
1820
ci:
1921
strategy:
2022
fail-fast: false
2123
matrix:
2224
pyVersion: [ '3.10', '3.11', '3.12' ]
2325
runs-on: ubuntu-latest
26+
2427
steps:
2528
- name: Checkout
2629
uses: actions/checkout@v4.2.2
@@ -40,7 +43,7 @@ jobs:
4043
- name: Publish test coverage
4144
uses: codecov/codecov-action@v5
4245
with:
43-
token: ${{ secrets.CODECOV_TOKEN }}
46+
use_oidc: true
4447

4548
fmt:
4649
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)