]> git.lizzy.rs Git - rust.git/blobdiff - .github/workflows/rustdoc.yaml
Merge #11461
[rust.git] / .github / workflows / rustdoc.yaml
index 29ca3d3b2a52c5d8d0424dd51192096ff8bfea5e..ac69adb947716455d3ff61e7d11ac396c3622acb 100644 (file)
@@ -7,11 +7,12 @@ on:
 env:
   CARGO_INCREMENTAL: 0
   CARGO_NET_RETRY: 10
-  RUSTFLAGS: "-D warnings " # -W unreachable-pub"
+  RUSTFLAGS: "-D warnings -W unreachable-pub"
   RUSTUP_MAX_RETRIES: 10
 
 jobs:
   rustdoc:
+    if: github.repository == 'rust-analyzer/rust-analyzer'
     runs-on: ubuntu-latest
 
     steps: