From e3df7b7b4dfad207f8904921ddbe73219afe462b Mon Sep 17 00:00:00 2001 From: Meir Blachman Date: Fri, 8 Dec 2023 10:15:23 +0200 Subject: [PATCH] run benchmark only for source repo --- .github/workflows/benchmark.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ffca0b20..d0f46f0a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -9,6 +9,7 @@ jobs: benchmark: name: Performance regression check runs-on: ubuntu-latest + if: github.repository == 'fluentassertions/fluentassertions.analyzers' steps: - uses: actions/checkout@v3 - name: Setup .NET @@ -28,4 +29,4 @@ jobs: auto-push: true alert-threshold: '200%' comment-on-alert: true - fail-on-alert: true \ No newline at end of file + fail-on-alert: true