From e17c2ef698beda88f132227b49e5b877c53fb7a2 Mon Sep 17 00:00:00 2001
From: Spencer Smith <robertspencersmith@gmail.com>
Date: Fri, 23 Jun 2017 11:49:48 -0400
Subject: [PATCH] premoderator breaks on redirect. update to use kubespray.

---
 scripts/premoderator.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/premoderator.sh b/scripts/premoderator.sh
index 4b35af8d2..9ad490a57 100644
--- a/scripts/premoderator.sh
+++ b/scripts/premoderator.sh
@@ -8,7 +8,7 @@ MAGIC="${MAGIC:-ci check this}"
 # Get PR number from CI_BUILD_REF_NAME
 issue=$(echo ${CI_BUILD_REF_NAME} | perl -ne '/^pr-(\d+)-\S+$/ && print $1')
 # Get the user name from the PR comments with the wanted magic incantation casted
-user=$(curl ${CURL_ARGS} "https://api.github.com/repos/kubernetes-incubator/kargo/issues/${issue}/comments" \
+user=$(curl ${CURL_ARGS} "https://api.github.com/repos/kubernetes-incubator/kubespray/issues/${issue}/comments" \
   | jq -M "map(select(.body | contains (\"$MAGIC\"))) | .[0] .user.login" | tr -d '"')
 # Check for the required user group membership to allow (exit 0) or decline (exit >0) the pipeline
 if [ "$user" = "null" ]; then
-- 
GitLab