diff --git a/.github/workflows/analyze_comment.yml b/.github/workflows/analyze_comment.yml index 1c061c56fa..fb8217df90 100644 --- a/.github/workflows/analyze_comment.yml +++ b/.github/workflows/analyze_comment.yml @@ -11,6 +11,9 @@ permissions: {} jobs: comment: runs-on: ubuntu-latest + if: > + ${{ github.event.workflow_run.event == 'pull_request' && + github.event.workflow_run.conclusion == 'success' }} steps: - name: Download Event Type uses: dawidd6/action-download-artifact@v3