From 37ee440092e29558ec61aaee85679728c93b60bf Mon Sep 17 00:00:00 2001 From: fisker Date: Fri, 19 Jun 2020 15:38:57 +0800 Subject: [PATCH] Simplify #8600 --- .github/workflows/prod-test.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index 49808760e..df5456cfa 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -49,12 +49,7 @@ jobs: # It should be the last step # The cache step might saving the result of master branch, need investigate - name: Check Sizes - if: >- - github.event_name == 'pull_request' && - ( - startsWith(github.head_ref, 'dependabot/npm_and_yarn/') || - contains(github.event.comment.body, '/size') - ) + if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'dependabot/npm_and_yarn/') uses: preactjs/compressed-size-action@v2.0.1 with: repo-token: "${{ secrets.GITHUB_TOKEN }}"