You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -71,12 +71,19 @@ jobs:
71
71
72
72
73
73
# Comment on each issue found
74
+
FAILURES=""
75
+
74
76
echo "$ISSUE_NUMBERS" | tr ' ' '\n' | while read -r issue_number; do
75
77
if [ -n "$issue_number" ]; then
76
78
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
78
80
echo "::error::Failed to comment on issue #$issue_number"
79
-
exit 1
81
+
FAILURES="$FAILURES #$issuenumber"
80
82
fi
81
83
fi
82
-
done
84
+
done
85
+
86
+
if [ -n "$FAILURES" ]; then
87
+
echo "::error::Failed to update the following issue(s):$FAILURES"
0 commit comments