about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-03-19 17:25:37 +0800
committerGitHub <noreply@github.com>2025-03-19 17:25:37 +0800
commitbeb1c00a8fb372d268a3eca1fbc69197f6b5210f (patch)
treed92684cdbe9abeeeac4eb0d330532fc7bb89c57a /src
parenta9f46f145b47b66be742929cd95a38950b120028 (diff)
parent88478aca86706a7b2cc1db4c27add28ee374d376 (diff)
downloadrust-beb1c00a8fb372d268a3eca1fbc69197f6b5210f.tar.gz
rust-beb1c00a8fb372d268a3eca1fbc69197f6b5210f.zip
Merge pull request #2296 from jieyouxu/no-external-linkcheck
Don't linkcheck external web links in PR CI
Diffstat (limited to 'src')
-rw-r--r--src/doc/rustc-dev-guide/.github/workflows/ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/ci.yml b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
index 22a4fb1901a..415d0dc397d 100644
--- a/src/doc/rustc-dev-guide/.github/workflows/ci.yml
+++ b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
@@ -18,6 +18,7 @@ jobs:
       MDBOOK_LINKCHECK2_VERSION: 0.9.1
       MDBOOK_MERMAID_VERSION: 0.12.6
       MDBOOK_TOC_VERSION: 0.11.2
+      MDBOOK_OUTPUT__LINKCHECK__FOLLOW_WEB_LINKS: ${{ github.event_name != 'pull_request' }}
       DEPLOY_DIR: book/html
       BASE_SHA: ${{ github.event.pull_request.base.sha }}
       GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}