Skip to content

Commit

Permalink
Update benchmark.yml (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijn authored Oct 11, 2023
1 parent a6f9dc4 commit 4ce6e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 <<EOF > benchmark.md
#### Benchmark result
Expand Down

0 comments on commit 4ce6e08

Please sign in to comment.