Skip to content

Commit

Permalink
Add write permissions for contents to GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray committed Oct 17, 2024
1 parent 34e49d3 commit 52aca7e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ name: Benchmarks

on: [workflow_call, workflow_dispatch]

# Sets permissions of the GITHUB_TOKEN to allow writing back to `master`
permissions:
contents: read
pages: write
id-token: write

jobs:
run-benchmarks:
runs-on: "cirun-benchmark-runner--${{ github.run_id }}"
# Sets permissions of the GITHUB_TOKEN to allow writing back to `master`
permissions:
contents: write
steps:
# Install git first; otherwise actions/checkout silently falls back
# to github REST API for downloading the repo
Expand Down

0 comments on commit 52aca7e

Please sign in to comment.