Exclude our build and test action from doc-only changes. (#390)

No since spending the GitHub action minutes (or waiting to merge) on
Bazel when only changing markdown or other files that aren't part of the
build and test.
This commit is contained in:
Chandler Carruth authored and GitHub committed 2021-03-12 19:59:32 -08:00
1 parent fa099f527e
commit 80f87f89a1
1 file changed
+16
+16
View File
@@ -7,7 +7,23 @@ name: test
on:
push:
branches: [trunk]
paths:
# Conservatively run the tests. However, skip them if the only paths in
# the pull request match files that we know don't impact the build.
- '**'
- '!**/*.md'
- '!LICENSE'
- '!CODEOWNERS'
- '!.git*'
pull_request:
paths:
# Conservatively run the tests. However, skip them if the only paths in
# the pull request match files that we know don't impact the build.
- '**'
- '!**/*.md'
- '!LICENSE'
- '!CODEOWNERS'
- '!.git*'
jobs:
test: