Skip to content

Commit

Permalink
Move permissions back
Browse files Browse the repository at this point in the history
  • Loading branch information
cncastillo committed Jul 12, 2024
1 parent d1e4fee commit e987a9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Benchmarks
permissions:
contents: write # contents permission to update benchmark contents in gh-pages branch
statuses: read
deployments: write # deployments permission to deploy GitHub pages website

on:
pull_request:
Expand Down Expand Up @@ -30,10 +34,6 @@ jobs:
benchmark:
if: ${{ !contains(github.event.head_commit.message, '[skip benchmarks]') }}
runs-on: ubuntu-latest
permissions:
contents: write # contents permission to update benchmark contents in gh-pages branch
statuses: read
deployments: write # deployments permission to deploy GitHub pages website
steps:
- uses: actions/checkout@v4
- name: Download Buildkite Artifacts
Expand Down

0 comments on commit e987a9c

Please sign in to comment.