From 90e659d0b950499984ef26fdfd45205a3113bdd8 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 21 Oct 2024 10:48:25 +0100 Subject: [PATCH] ci: only publish benchmarks nightly Allow for workflow_dispatch jobs to run, but don't publish their test results; this is useful for testing workflows themselves. --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 44b76b902..de12739b9 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -97,7 +97,7 @@ jobs: publish: name: Publish results needs: [ build ] - if: always() && github.repository == 'libgit2/libgit2' + if: always() && github.repository == 'libgit2/libgit2' && github.event_name == 'schedule' runs-on: ubuntu-latest steps: - name: Check out benchmark repository