diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 1f533770..c8013e5d 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -17,6 +17,9 @@ jobs: comment: name: Comment Bot runs-on: ubuntu-latest + # workflow run triggeres on all types of "completed" including "cancelled" and similar + # we want this action to only run on a success & failure though + if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }} steps: - uses: actions/download-artifact@v4 with: