Skip to content

Commit 3032f87

Browse files
authored
Check BASE_SHA only if it's a PR (#1083)
1 parent bfe8e98 commit 3032f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/linkcheck.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job
99

1010
echo "Doing full link check."
1111
set -x
12-
elif [ "$CI" = "true" ] ; then # running in PR CI build
12+
elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build
1313
if [ -z "$BASE_SHA" ]; then
1414
echo "error: unexpected state: BASE_SHA must be non-empty in CI"
1515
exit 1

0 commit comments

Comments
 (0)