Added usage link to warning message (#84)

This commit is contained in:
Tonye Jack 2021-05-26 18:01:44 -04:00 committed by GitHub
parent ba98ceed2d
commit 2ecd06deb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ fi
if [[ $exit_status -ne 0 ]]; then if [[ $exit_status -ne 0 ]]; then
echo "::warning::Unable to determine the head sha" echo "::warning::Unable to determine the head sha"
echo "::warning::You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'" echo "::warning::You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See https://github.com/tj-actions/changed-files#usage"
exit 1 exit 1
fi fi