@@ -72,7 +72,6 @@ create_pull_request() {
|
|||||||
RESPONSE=$(curl -sSL -H "${AUTH_HEADER}" -H "${HEADER}" --user "${GITHUB_ACTOR}" -X POST --data "${DATA}" ${PULLS_URL})
|
RESPONSE=$(curl -sSL -H "${AUTH_HEADER}" -H "${HEADER}" --user "${GITHUB_ACTOR}" -X POST --data "${DATA}" ${PULLS_URL})
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
printf "Pull request return code: ${RETVAL}\n"
|
printf "Pull request return code: ${RETVAL}\n"
|
||||||
echo ${RESPONSE}
|
|
||||||
|
|
||||||
# If there are assignees and we were successful to open, assigm them to it
|
# If there are assignees and we were successful to open, assigm them to it
|
||||||
if [[ "${ASSIGNEES}" != "" ]] && [[ "${RETVAL}" == "0" ]]; then
|
if [[ "${ASSIGNEES}" != "" ]] && [[ "${RETVAL}" == "0" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user