From e24486c05d6e6f307c8de2e618803e0ea428eb89 Mon Sep 17 00:00:00 2001 From: liweijie0812 <674416404@qq.com> Date: Fri, 19 Apr 2024 11:27:36 +0800 Subject: [PATCH] ci(compressed-size): only run in release version (#1325) --- .github/workflows/pr-compressed-size.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-compressed-size.yml b/.github/workflows/pr-compressed-size.yml index e326f8151..0f6492de7 100644 --- a/.github/workflows/pr-compressed-size.yml +++ b/.github/workflows/pr-compressed-size.yml @@ -7,6 +7,7 @@ on: jobs: compressed-size: runs-on: ubuntu-latest + if: startsWith(github.head_ref, 'release/') steps: - uses: actions/checkout@v3 with: