Skip to content

Commit e776e58

Browse files
committed
test new change
1 parent 56c4be3 commit e776e58

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,19 @@ jobs:
7171

7272

7373
# Comment on each issue found
74+
FAILURES=""
75+
7476
echo "$ISSUE_NUMBERS" | tr ' ' '\n' | while read -r issue_number; do
7577
if [ -n "$issue_number" ]; then
7678
echo "Commenting on issue #$issue_number"
77-
if ! gh issue comment "$issue_number" --body "A change related to this issue was included in release: $CURRENT_TAG"; then
79+
if ! gh issue comment "$issue_number" --body "A change related to this issue was included in [release **$CURRENT_TAG**](https://github.com/${{ github.repository }}/releases/tag/$CURRENT_TAG)."; then
7880
echo "::error::Failed to comment on issue #$issue_number"
79-
exit 1
81+
FAILURES="$FAILURES #$issuenumber"
8082
fi
8183
fi
82-
done
84+
done
85+
86+
if [ -n "$FAILURES" ]; then
87+
echo "::error::Failed to update the following issue(s):$FAILURES"
88+
exit 1
89+
fi

0 commit comments

Comments
 (0)