Jelajahi Sumber

Copy-paste paths since the action isn't running. (#2954)

Jon Ross-Perkins 2 tahun lalu
induk
melakukan
594ebff23b
1 mengubah file dengan 16 tambahan dan 2 penghapusan
  1. 16 2
      .github/workflows/tests.yaml

+ 16 - 2
.github/workflows/tests.yaml

@@ -16,9 +16,23 @@ on:
       - '!CODEOWNERS'
       - '!.git*'
   pull_request_target:
-    paths: ${{ push.paths }}
+    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*'
   merge_group:
-    paths: ${{ push.paths }}
+    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*'
 
 # Cancel previous workflows on the PR when there are multiple fast commits.
 # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency