This is an automated email from the ASF dual-hosted git repository. aw pushed a commit to branch YETUS-1034-release in repository https://gitbox.apache.org/repos/asf/yetus.git
commit 7073e66dbccc5f315c232fe3220ea3073959085c Author: Allen Wittenauer <[email protected]> AuthorDate: Tue Nov 10 15:17:50 2020 -0800 YETUS-1073. GITHUB_REPO_DEFAULT isn't honored (#199) Signed-off-by: Sean Busbey <[email protected]> --- precommit/src/main/shell/test-patch.d/github.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/precommit/src/main/shell/test-patch.d/github.sh b/precommit/src/main/shell/test-patch.d/github.sh index 0c83079..79fcbab 100755 --- a/precommit/src/main/shell/test-patch.d/github.sh +++ b/precommit/src/main/shell/test-patch.d/github.sh @@ -184,6 +184,8 @@ function github_initialize GITHUB_AUTH=(-H "Authorization: token ${GITHUB_TOKEN}") fi + GITHUB_REPO=${GITHUB_REPO:-${GITHUB_REPO_DEFAULT}} + if [[ -z "${GITHUB_REPO}" ]]; then yetus_error "WARNING: --github-repo not autodetermined or provided. Brute forcing." pushd "${BASEDIR}" >/dev/null || return 1
