From 2530493a8f8fdfc1d1cfd4bdd055d7dcf788ed96 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:17:21 -0300 Subject: [PATCH 1/2] Skip benchmarking on forks --- .github/workflows/benchmark_pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/benchmark_pr.yml b/.github/workflows/benchmark_pr.yml index 029c45a9..fbdbfabb 100644 --- a/.github/workflows/benchmark_pr.yml +++ b/.github/workflows/benchmark_pr.yml @@ -8,6 +8,7 @@ permissions: jobs: generate_plots: + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: From 3cde583c681b8ae5b5caed7d348f8a57d0c1ddff Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:28:06 -0300 Subject: [PATCH 2/2] Update benchmark_pr.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/benchmark_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark_pr.yml b/.github/workflows/benchmark_pr.yml index fbdbfabb..9784da07 100644 --- a/.github/workflows/benchmark_pr.yml +++ b/.github/workflows/benchmark_pr.yml @@ -8,7 +8,7 @@ permissions: jobs: generate_plots: - if: github.event.pull_request.head.repo.full_name == github.repository + if: "! github.event.pull_request.head.repo.fork" runs-on: ubuntu-latest steps: