pr-should-include-tests: no more CI:DOCS override

CI:DOCS is no more.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago 2024-07-08 15:46:56 -06:00
parent abf0350529
commit 5e9ab00063
2 changed files with 1 additions and 6 deletions

View File

@ -7,11 +7,6 @@ ME=$(basename $0)
# Github label which allows overriding this check
OVERRIDE_LABEL="No New Tests"
# Docs-only changes are excused
if [[ "${CIRRUS_CHANGE_TITLE}" =~ CI:DOCS ]]; then
exit 0
fi
# HEAD should be good enough, but the CIRRUS envariable allows us to test
head=${CIRRUS_CHANGE_IN_REPO:-HEAD}
# Base of this PR. Here we absolutely rely on cirrus.

View File

@ -97,7 +97,7 @@ function run_test_script() {
testnum=$(( testnum + 1 ))
CIRRUS_CHANGE_TITLE="[CI:DOCS] hi there" $test_script &>/dev/null
if [[ $? -ne 0 ]]; then
if [[ $? -ne 1 ]]; then
echo "not ok $testnum $rest (override with CI:DOCS)"
rc=1
else