diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ff32f134bfa4..d22d1efd9c4b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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: