From 49ce5ce1ca70657e34b63c2f239222e9557be115 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Mon, 15 May 2023 14:40:43 -0400 Subject: [PATCH] Only run linkcheck against docs dir on PR (#4741) # Only run linkchecker on direct changes to docs This is a stop-gap that will speed up PRs. Some broken links can slip through if they're embedded in doc-strings inside the codebase. But we'll still be running the linkchecker on master. --- .github/workflows/linkcheck.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index be92e979..fdc11918 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -4,6 +4,8 @@ on: push: branches: [master] pull_request: + paths: + - 'docs/**' env: POETRY_VERSION: "1.4.2"