Skip to content

Commit b314c1b

Browse files
authored
docs: Improve example for composing outputs (#206)
1 parent 505e44b commit b314c1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/lint-pr-title-preview-outputErrorMessage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: marocchino/sticky-pull-request-comment@v2
2424
# When the previous steps fails, the workflow would stop. By adding this
2525
# 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)
2727
with:
2828
header: pr-title-lint-error
2929
message: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
- uses: marocchino/sticky-pull-request-comment@v2
146146
# When the previous steps fails, the workflow would stop. By adding this
147147
# 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)
149149
with:
150150
header: pr-title-lint-error
151151
message: |

0 commit comments

Comments
 (0)