Skip to content

Commit ce5d553

Browse files
committed
ci: connect-todos-to-issues.sh: add support of 'reopen' state
[skip ci]
1 parent 2f58d0b commit ce5d553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scripts/ci/connect-todos-to-issues.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ while IFS=$'\t' read -r PUZZLE_ID UNUSED_TICKET TITLE UNUSED_REST; do
213213
error " 2) investigate and manually resolve this collision"
214214
fatal ''
215215

216-
elif [ "$ISSUE_STATE" != 'open' ]; then
216+
elif [ "$ISSUE_STATE" != 'open' ] && [ "$ISSUE_STATE" != 'reopen' ]; then
217217
error ''
218218
error "$PUZZLE_ID => #$ISSUE_ID: $ISSUE_URL has unknown state"
219-
error "Expected: 'open' or 'closed'"
219+
error "Expected: 'open', 'reopen' or 'closed'"
220220
error "Found: $ISSUE_STATE"
221221
fatal ''
222222
fi

0 commit comments

Comments
 (0)