Skip to content

Commit dd528ae

Browse files
committed
fix(ci): switch to OIDC token
1 parent adee8a1 commit dd528ae

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/codspeed.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ env:
1010
PYTHON_VERSION: "3.14"
1111
SHARDS: 4
1212

13+
permissions:
14+
contents: read # required for actions/checkout
15+
id-token: write # required for OIDC authentication with CodSpeed
16+
1317
jobs:
1418
benchmarks:
1519
strategy:
@@ -38,7 +42,6 @@ jobs:
3842
with:
3943
mode: ${{ matrix.mode }}
4044
run: uv run pytest tests/benchmarks/ --codspeed --test-group=${{ matrix.shard }} --test-group-count=${{ env.SHARDS }}
41-
token: ${{ secrets.CODSPEED_TOKEN }}
4245

4346
all-checks:
4447
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)