diff --git a/.github/workflows/Benchmark.yml b/.github/workflows/Benchmark.yml index f38e5d85..b161782d 100644 --- a/.github/workflows/Benchmark.yml +++ b/.github/workflows/Benchmark.yml @@ -10,6 +10,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} +permissions: + contents: write + pull-requests: write + issues: write + jobs: benchmark: runs-on: ubuntu-latest @@ -43,10 +48,10 @@ jobs: name: Benchmark Results tool: 'julia' output-file-path: bench/benchmark_results.json - summary-always: true + summary-always: ${{ !github.event.pull_request.head.repo.fork }} # Disable summary for PRs from forks github-token: ${{ secrets.GITHUB_TOKEN }} - comment-always: true alert-threshold: "200%" fail-on-alert: true benchmark-data-dir-path: benchmarks - auto-push: false \ No newline at end of file + comment-always: ${{ !github.event.pull_request.head.repo.fork }} # Disable comments for PRs from forks + auto-push: ${{ !github.event.pull_request.head.repo.fork }} # Disable push for PRs from forks