Skip to content

Commit

Permalink
Make sure both workflows have right permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray committed Oct 17, 2024
1 parent 52aca7e commit a1a3cdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Benchmarks

on: [workflow_call, workflow_dispatch]

# Sets permissions of the GITHUB_TOKEN to allow writing back to `master`
permissions:
contents: 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
2 changes: 1 addition & 1 deletion .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
contents: write
pages: write
id-token: write

Expand Down

0 comments on commit a1a3cdc

Please sign in to comment.