diff --git a/.github/workflows/notification_trial.yml b/.github/workflows/notification_trial.yml index 8bebfbf1..aa75bff3 100644 --- a/.github/workflows/notification_trial.yml +++ b/.github/workflows/notification_trial.yml @@ -14,7 +14,7 @@ jobs: run: exit 1 on-failure: runs-on: ubuntu-latest - if: ${{ always() && needs.failing-job.result == 'failure' }} + if: ${{ github.event_name == 'pull_request' && needs.failing-job.result == 'failure' }} needs: - failing-job steps: