Skip to content

Commit 0711856

Browse files
Merge pull request #99 from njzjz-bot/codecov-oidc
ci: use OIDC for codecov-action
2 parents 27138f4 + e41b653 commit 0711856

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Python unit-tests
22

33
on:
4-
- push
5-
- pull_request
4+
- push
5+
- pull_request
66

77
jobs:
88
build:
@@ -32,3 +32,7 @@ jobs:
3232
- uses: codecov/codecov-action@v7
3333
env:
3434
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
35+
with:
36+
use_oidc: true
37+
permissions:
38+
id-token: write

0 commit comments

Comments
 (0)