From cfc0d6b74650d74abe182fb7debccd27d4d3bd0f Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 6 Nov 2021 19:05:03 +0000 Subject: [PATCH] idk --- .github/workflows/bundle_analysis_comment.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundle_analysis_comment.yml b/.github/workflows/bundle_analysis_comment.yml index 033b555fa..487a09a46 100644 --- a/.github/workflows/bundle_analysis_comment.yml +++ b/.github/workflows/bundle_analysis_comment.yml @@ -7,8 +7,11 @@ on: - completed jobs: - comment: + upload: runs-on: ubuntu-latest + if: > + ${{ github.event.workflow_run.event == 'pull_request' && + github.event.workflow_run.conclusion == 'success' }} steps: - name: Download base branch bundle stats uses: dawidd6/action-download-artifact@v2