Skip to content

Commit d69f4e3

Browse files
(MAINT) Skip builds on docs-only PRs
This change uses the [`paths-ignore`][01] property for the GitHub workflow pull requests trigger to skip the lengthy build process for PRs that only modify documentation or VS Code configuration, neither of which affect the code-building. This should enable faster feedback cycles for those pull requests, as the build workflow can take 15-20m each time.
1 parent f2a9b17 commit d69f4e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8+
paths-ignore:
9+
- "docs/**"
10+
- "*.md"
11+
- ".vscode/*.json"
812

913
env:
1014
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)