Skip to content

Commit ece8cdb

Browse files
committed
chore: fix "REPO: unbound variable" error
Correction for 582cfb3 commit. Part of #1610
1 parent 9bd4739 commit ece8cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ while IFS=$'\t' read PUZZLE_ID TICKET TITLE REST; do
161161
debug "$ISSUE_BODY"
162162
debug '--- END ---'
163163

164-
ISSUE_LINK="$(gh issue create --repo "$REPO" --label "$ISSUE_LABEL" --title "$TITLE" --body "$ISSUE_BODY" | sed -n '/issues/p')"
164+
ISSUE_LINK="$(gh issue create --repo "$GITHUB_REPOSITORY" --label "$ISSUE_LABEL" --title "$TITLE" --body "$ISSUE_BODY" | sed -n '/issues/p')"
165165
# https://github.com/php-coder/mystamps/issues/1111 => 1111
166166
ISSUE_ID="$(echo "$ISSUE_LINK" | sed -E 's|.*/issues/([0-9]+)$|\1|')"
167167
info "$PUZZLE_ID => #$ISSUE_ID: issue has been created: $ISSUE_LINK"

0 commit comments

Comments
 (0)