Skip to content

Commit 15dbcee

Browse files
committed
limits job to run only if PR workflow completed successfully
1 parent fc5d9b0 commit 15dbcee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/comment-on-pr.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313
comment:
1414
runs-on: ubuntu-latest
15+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1516
steps:
1617
- uses: actions/checkout@v2
1718

0 commit comments

Comments
 (0)