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

@@ -231,18 +231,6 @@ Called /usr/local/bin/docker logout"
[ "$output" = "$expected" ]
}
@test "it errors on pull requests when not configured" {
export GITHUB_REF='refs/pull/24/merge'
unset INPUT_PULL_REQUESTS
run /entrypoint.sh
local expected="The build was triggered within a pull request, but was not configured to build pull requests. Please see with.pull_requests"
echo $output
[ "$status" -eq 1 ]
[ "$output" = "$expected" ]
}
@test "it errors when with.name was not set" {
unset INPUT_NAME