Skip to content

Commit 56c4be3

Browse files
committed
test fail step
1 parent 6f1c34b commit 56c4be3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ jobs:
7474
echo "$ISSUE_NUMBERS" | tr ' ' '\n' | while read -r issue_number; do
7575
if [ -n "$issue_number" ]; then
7676
echo "Commenting on issue #$issue_number"
77-
gh issue comment "$issue_number" --body "A change related to this issue was included in release: $CURRENT_TAG" || echo "::error Failed to comment on #$issue_number"
77+
if ! gh issue comment "$issue_number" --body "A change related to this issue was included in release: $CURRENT_TAG"; then
78+
echo "::error::Failed to comment on issue #$issue_number"
79+
exit 1
80+
fi
7881
fi
7982
done

0 commit comments

Comments
 (0)