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.
This commit is contained in:
Eugene Yurtsev
2023-05-15 14:40:43 -04:00
committed by GitHub
parent 99cfe71cd0
commit 49ce5ce1ca

View File

@@ -4,6 +4,8 @@ on:
push:
branches: [master]
pull_request:
paths:
- 'docs/**'
env:
POETRY_VERSION: "1.4.2"