diff --git a/.github/workflows/comment-failed-pr.yml b/.github/workflows/comment-failed-pr.yml index d105873bb..76938d349 100644 --- a/.github/workflows/comment-failed-pr.yml +++ b/.github/workflows/comment-failed-pr.yml @@ -10,6 +10,7 @@ on: jobs: on-failure: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'failure' }} steps: - name: Download workflow artifact uses: dawidd6/action-download-artifact@v2.11.0