We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BASE_SHA
1 parent bfe8e98 commit 3032f87Copy full SHA for 3032f87
ci/linkcheck.sh
@@ -9,7 +9,7 @@ if [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job
9
10
echo "Doing full link check."
11
set -x
12
-elif [ "$CI" = "true" ] ; then # running in PR CI build
+elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build
13
if [ -z "$BASE_SHA" ]; then
14
echo "error: unexpected state: BASE_SHA must be non-empty in CI"
15
exit 1
0 commit comments