Skip to content

Commit dcb617f

Browse files
Merge #4146
4146: Ignore benchstat on forks r=janezpodhostnik a=janezpodhostnik I will open an issue to fix this properly. This is just to unblock #4126 Issue to fix this properly: #4147 Co-authored-by: Janez Podhostnik <[email protected]>
2 parents 8ce7cb1 + 2e9cb08 commit dcb617f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/bench.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
benchstat:
2121
name: Performance regression check
2222
runs-on: ubuntu-latest
23+
# Check if the event is not triggered by a fork
24+
# peter-evans/find-comment@v1 does not work on forks.
25+
# see https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#restrictions-on-repository-forks for details.
26+
# Ideally we would like to still run the benchmark on forks, but we can't do that with the current setup.
27+
if: github.event.pull_request.head.repo.full_name == github.repository
2328
continue-on-error: true
2429
steps:
2530
- name: Set benchmark repetitions

0 commit comments

Comments
 (0)