test/.gitea/actions/checkout-4.2.2/__test__/verify-submodules-false.sh
yuyang e1cbbe9165
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
4
2025-03-22 10:34:50 +08:00

11 lines
263 B
Bash

#!/bin/bash
if [ ! -f "./submodules-false/regular-file.txt" ]; then
echo "Expected regular file does not exist"
exit 1
fi
if [ -f "./submodules-false/submodule-level-1/submodule-file.txt" ]; then
echo "Unexpected submodule file exists"
exit 1
fi