We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585a0fc commit b0904f8Copy full SHA for b0904f8
ci/linkcheck.sh
@@ -9,7 +9,7 @@ set_github_token() {
9
jq '.config.output.linkcheck."http-headers"."github\\.com" = ["Authorization: Bearer $GITHUB_TOKEN"]'
10
}
11
12
-if ! which $LINKCHECK_BINARY &>/dev/null ; then
+if ! which $LINKCHECK_BINARY &>/dev/null && [ -z "$GITHUB_EVENT_NAME" ] ; then
13
echo "WARNING: Skipping link check. Consider running 'cargo install $LINKCHECK_BINARY'."
14
exit 0
15
fi
0 commit comments