From eb4ab712eb2734db045ec15795fefafc06d58d83 Mon Sep 17 00:00:00 2001 From: droak Date: Fri, 6 Dec 2024 15:00:11 +0900 Subject: [PATCH] ci: don't fail on alert the benchmark on push --- .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 4e4f6d9b..29860852 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,7 +41,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} output-file-path: packages/object/benchmark-output.txt alert-threshold: "130%" - fail-on-alert: true + fail-on-alert: ${{ github.event_name != 'push' }} comment-on-alert: ${{ github.event_name == 'push' }} summary-always: true gh-pages-branch: main