Skip to content

Commit 4a44a1b

Browse files
committed
Only comment if the build workflow was succesful
1 parent 5edada8 commit 4a44a1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
comment:
1313
name: Comment reccmp report
1414
runs-on: ubuntu-latest
15-
if: ${{ github.event.workflow_run.event == 'pull_request' }}
15+
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
1616
permissions:
1717
actions: read
1818
issues: write

0 commit comments

Comments
 (0)