Skip to content

Commit

Permalink
CI: Fix insufficient permissions in manual bench workflow
Browse files Browse the repository at this point in the history
The manually triggered benchmarking workflow in `bench_ec2_any.yml`
does not have sufficient permissions to call the underlying workhorse
`bench_ec2_reusable.yml`. This commit fixes that.

Signed-off-by: Hanno Becker <[email protected]>
  • Loading branch information
hanno-becker committed Nov 16, 2024
1 parent 4e62a9e commit f90168e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/bench_ec2_any.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ on:
jobs:
bench-ec2-any:
name: Ad-hoc benchmark on $${{ inputs.ec2_instance_type }}
permissions:
contents: 'read'
id-token: 'write'
uses: ./.github/workflows/bench_ec2_reusable.yml
with:
ec2_instance_type: ${{ inputs.ec2_instance_type }}
Expand Down

0 comments on commit f90168e

Please sign in to comment.