Skip to content

Commit 31005c0

Browse files
Use oidc
1 parent 87fc2ef commit 31005c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/check-build-deploy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ jobs:
133133
pytest:
134134
needs: [uv-check]
135135
runs-on: ubuntu-latest
136+
permissions:
137+
id-token: write
136138
env:
137139
UV_NO_SYNC: true
138140
UV_FROZEN: true
@@ -171,13 +173,13 @@ jobs:
171173
if: ${{ !cancelled() }}
172174
uses: codecov/test-results-action@v1
173175
with:
174-
token: ${{ secrets.CODECOV_TOKEN }}
176+
use_oidc: true
175177

176178
- name: Upload coverage report to Codecov
177179
uses: codecov/codecov-action@v5
178180
if: ${{ !cancelled() }}
179181
with:
180-
token: ${{ secrets.CODECOV_TOKEN }}
182+
use_oidc: true
181183

182184
ruff-lint:
183185
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)