Skip to content

Commit 4ce6e08

Browse files
authored
Update benchmark.yml (#208)
1 parent a6f9dc4 commit 4ce6e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/benchmark.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
do-benchmark:
10-
if: github.event.pull_request.merged == false
10+
if: github.event.pull_request.merged == false && github.event.pull_request.head.repo.fork == false
1111
name: Benchmark runner
1212
runs-on: ubuntu-latest
1313
steps:
@@ -56,7 +56,7 @@ jobs:
5656
- uses: iterative/setup-cml@v2
5757
- name: Include benchmark-image as comment to PR
5858
env:
59-
repo_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
59+
repo_token: ${{ secrets.GITHUB_TOKEN }}
6060
run: |
6161
cat <<EOF > benchmark.md
6262
#### Benchmark result

0 commit comments

Comments
 (0)