Skip to content

Commit eea8613

Browse files
committed
[CI] Don't run benchmarks on PRs from forks
1 parent 5098e21 commit eea8613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/benchmark_aggregate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
benchmark:
17-
if: ${{ !contains(github.event.head_commit.message, '[skip benchmarks]') }}
17+
if: ${{ !contains(github.event.head_commit.message, '[skip benchmarks]') && ! github.event.pull_request.head.repo.fork }}
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)