File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ concurrency:
1818jobs :
1919 find-pr :
2020 runs-on : ubuntu-latest
21- if : ${{ github.event.workflow_run.conclusion == 'failure' }}
21+ if : ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event == 'pull_request' }}
2222 outputs :
2323 pr_number : ${{ steps.pr.outputs.number }}
2424 pr_author : ${{ steps.pr.outputs.author }}
Original file line number Diff line number Diff line change 394394 jobs :
395395 find-pr :
396396 runs-on : ubuntu-latest
397- if : ${{ github.event.workflow_run.conclusion == 'failure' }}
397+ if : ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event == 'pull_request' }}
398398 outputs :
399399 pr_number : ${{ steps.pr.outputs.number }}
400400 pr_author : ${{ steps.pr.outputs.author }}
You can’t perform that action at this time.
0 commit comments