Skip to content

Commit

Permalink
Merge pull request #1 from dwmunster/bugfix/workflow-perms
Browse files Browse the repository at this point in the history
Benchmark: Add write permissions to comment workflow
  • Loading branch information
dwmunster authored Jun 4, 2024
2 parents 9748774 + 19c5da9 commit ed8a0aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/benchmarks_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
workflows: [ Run and Cache Benchmarks ]
types: [ completed ]

permissions:
pull-requests: write

jobs:
comment:
if: github.event.workflow_run.conclusion == 'success'
Expand All @@ -13,7 +16,7 @@ jobs:
PR_EVENT: event.json
steps:
- name: Download Benchmark Results
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
async function downloadArtifact(artifactName) {
Expand Down

0 comments on commit ed8a0aa

Please sign in to comment.