From b5cdffbe669848b953fcc9acb0cea6691a78639a Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 11 Feb 2025 09:52:31 -0400 Subject: [PATCH] Don't post benchmark comments from forks (#1548) Signed-off-by: Juan Cruz Viotti --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f74677aa3..e5289be74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,7 +141,9 @@ jobs: if: matrix.platform.benchmark - uses: benchmark-action/github-action-benchmark@v1 - if: matrix.platform.benchmark + # Avoid posting messages on forks until we figure out how to make it work + # See https://github.com/benchmark-action/github-action-benchmark/issues/279 + if: matrix.platform.benchmark && github.event.pull_request.head.repo.fork == false with: name: Benchmark (${{ matrix.platform.benchmark }}) tool: googlecpp