Skip to content

Commit 8110366

Browse files
fix: use OIDC for Codecov (#180)
1 parent 789289e commit 8110366

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [master]
88

9+
permissions:
10+
contents: read
11+
id-token: write
12+
913
jobs:
1014
build:
1115
runs-on: windows-latest
@@ -34,4 +38,5 @@ jobs:
3438
uses: codecov/codecov-action@v5
3539
with:
3640
directory: test/Amazon.SecretsManager.Extensions.Caching.UnitTests/TestResults
37-
token: ${{ secrets.CODECOV_TOKEN }}
41+
fail_ci_if_error: true
42+
use_oidc: true

0 commit comments

Comments
 (0)