From 4ce6e08c24efa33780d5c8064fe4b36fa19d63ab Mon Sep 17 00:00:00 2001 From: Mattijn van Hoek Date: Wed, 11 Oct 2023 21:13:35 +0200 Subject: [PATCH] Update benchmark.yml (#208) --- .github/workflows/benchmark.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 587dd5e..b019ed6 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -7,7 +7,7 @@ on: jobs: do-benchmark: - if: github.event.pull_request.merged == false + if: github.event.pull_request.merged == false && github.event.pull_request.head.repo.fork == false name: Benchmark runner runs-on: ubuntu-latest steps: @@ -56,7 +56,7 @@ jobs: - uses: iterative/setup-cml@v2 - name: Include benchmark-image as comment to PR env: - repo_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + repo_token: ${{ secrets.GITHUB_TOKEN }} run: | cat < benchmark.md #### Benchmark result