File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
- uses: marocchino/sticky-pull-request-comment@v2
24
24
# When the previous steps fails, the workflow would stop. By adding this
25
25
# condition you can continue the execution with the populated error message.
26
- if: always()
26
+ if: always() && (steps.lint_pr_title.outputs.error_message != null)
27
27
with:
28
28
header: pr-title-lint-error
29
29
message: |
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ jobs:
145
145
- uses: marocchino/sticky-pull-request-comment@v2
146
146
# When the previous steps fails, the workflow would stop. By adding this
147
147
# condition you can continue the execution with the populated error message.
148
- if: always()
148
+ if: always() && (steps.lint_pr_title.outputs.error_message != null)
149
149
with:
150
150
header: pr-title-lint-error
151
151
message: |
You can’t perform that action at this time.
0 commit comments