Skip to content

Commit 5aa8fae

Browse files
committed
chore(ci): use OIDC token
1 parent 1cc7b1a commit 5aa8fae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
id-token: write
12+
913
jobs:
1014
lint:
1115
runs-on: ubuntu-latest
@@ -90,7 +94,6 @@ jobs:
9094
with:
9195
mode: ${{ matrix.codspeed-mode }}
9296
run: examples/google_benchmark_cmake/build/benchmark_example
93-
token: ${{ secrets.CODSPEED_TOKEN }}
9497
upload-url: https://api.staging.preview.codspeed.io/upload
9598

9699
bazel-integration-tests:
@@ -131,7 +134,6 @@ jobs:
131134
with:
132135
mode: ${{ matrix.codspeed-mode }}
133136
run: bazel run //examples/google_benchmark_bazel:my_benchmark --@codspeed_core//:codspeed_mode=${{ matrix.codspeed-mode }} --@codspeed_core//:strict_warnings=on
134-
token: ${{ secrets.CODSPEED_TOKEN }}
135137
upload-url: https://api.staging.preview.codspeed.io/upload
136138

137139
cmake-build:

0 commit comments

Comments
 (0)