Skip to content

Commit 3e6cfb1

Browse files
committed
Set id-token: write permissions for OIDC auth
Xref https://codspeed.io/changelog/2025-11-19-simpler-authentication-with-oidc. Also change from the deprecated 'instrumentation' mode to 'simulation'
1 parent 660cc97 commit 3e6cfb1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/bench.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ on:
1313
env:
1414
CARGO_TERM_COLOR: always
1515

16-
permissions:
17-
contents: read
18-
1916
jobs:
20-
rust:
17+
rust-bench:
2118
runs-on: ubuntu-24.04
2219
container:
2320
image: ghcr.io/osgeo/gdal:ubuntu-small-3.11.5
2421
options: --privileged
22+
permissions:
23+
contents: read # required for actions/checkout
24+
id-token: write # required for OIDC authentication with CodSpeed
2525

2626
steps:
2727
- name: Install dev dependencies and setup git
@@ -54,5 +54,5 @@ jobs:
5454
- name: Run the benchmarks
5555
uses: CodSpeedHQ/action@v4
5656
with:
57-
mode: instrumentation
57+
mode: simulation
5858
run: cargo codspeed run

0 commit comments

Comments
 (0)