mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix(ci): scope CodSpeed OIDC permissions to each job
This commit is contained in:
parent
34e2ef97f0
commit
abf159911f
1 changed files with 6 additions and 1 deletions
7
.github/workflows/codspeed.yml
vendored
7
.github/workflows/codspeed.yml
vendored
|
|
@ -35,7 +35,6 @@ on:
|
|||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
|
|
@ -43,6 +42,9 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
benchmarks:
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
|
||||
|
|
@ -98,6 +100,9 @@ jobs:
|
|||
--codspeed
|
||||
|
||||
e2e-walltime:
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
runs-on: codspeed-macro
|
||||
timeout-minutes: 30
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue