From bf6ac1a7d90840a81c65eabf5b48499c27276742 Mon Sep 17 00:00:00 2001 From: Violet Hynes Date: Wed, 11 Dec 2024 13:18:17 -0500 Subject: [PATCH] Run benchmark only on main (and rename the f ile (#29142) --- ...chmark.yml => benchmark-prevent-performance-degradations.yml} | 1 + 1 file changed, 1 insertion(+) rename .github/workflows/{hack-week-benchmark.yml => benchmark-prevent-performance-degradations.yml} (96%) diff --git a/.github/workflows/hack-week-benchmark.yml b/.github/workflows/benchmark-prevent-performance-degradations.yml similarity index 96% rename from .github/workflows/hack-week-benchmark.yml rename to .github/workflows/benchmark-prevent-performance-degradations.yml index c9aa913db5c0..7c3ac5f888e9 100644 --- a/.github/workflows/hack-week-benchmark.yml +++ b/.github/workflows/benchmark-prevent-performance-degradations.yml @@ -7,6 +7,7 @@ on: jobs: bench: name: Bench + if: github.base_ref == 'main' runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory