Skip to content

Commit cebedf1

Browse files
committed
chore(ci): use OIDC token
1 parent 3b9392b commit cebedf1

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

9598
bazel-integration-tests:
9699
strategy:
@@ -130,7 +133,6 @@ jobs:
130133
with:
131134
mode: ${{ matrix.codspeed-mode }}
132135
run: bazel run //examples/google_benchmark_bazel:my_benchmark --@codspeed_core//:codspeed_mode=${{ matrix.codspeed-mode }} --@codspeed_core//:strict_warnings=on
133-
token: ${{ secrets.CODSPEED_TOKEN }}
134136

135137
cmake-build:
136138
strategy:

0 commit comments

Comments
 (0)