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