Remove pull-request error, as it does not build to latest and the risk to go to production is low

This commit is contained in:
Lars Gohr
2019-09-30 21:13:47 +02:00
parent 19ff29fad0
commit 6b9504b15a
3 changed files with 0 additions and 30 deletions

View File

@@ -17,7 +17,6 @@ if [ -z "${INPUT_PASSWORD}" ]; then
fi
BRANCH=$(echo ${GITHUB_REF} | sed -e "s/refs\/heads\///g" | sed -e "s/\//-/g")
if [ "${BRANCH}" = "master" ]; then
BRANCH="latest"
fi;
@@ -29,10 +28,6 @@ fi;
# if it's a pull request
if [ $(echo ${GITHUB_REF} | sed -e "s/refs\/pull\///g") != ${GITHUB_REF} ]; then
if [ -z "${INPUT_PULL_REQUESTS}" ]; then
echo "The build was triggered within a pull request, but was not configured to build pull requests. Please see with.pull_requests"
exit 1
fi
BRANCH="${GITHUB_SHA}"
fi;