Răsfoiți Sursa

Skip integration runs on docs-only changes

Adds paths-ignore for docs/, *.md, *.rst, and LICENSE on the
pull_request, push, and pull_request_target triggers in the two
integration workflows. Avoids spending lint, mock, and cloud
test minutes on changes that can't affect runtime behavior.
Nuwan Goonasekera 3 săptămâni în urmă
părinte
comite
f1c5ff1599

+ 10 - 0
.github/workflows/integration-cloud.yaml

@@ -26,8 +26,18 @@ name: Cloud integration tests
 on:
   pull_request_target:
     types: [labeled]
+    paths-ignore:
+    - 'docs/**'
+    - '**.md'
+    - '**.rst'
+    - LICENSE
   push:
     branches: [main]
+    paths-ignore:
+    - 'docs/**'
+    - '**.md'
+    - '**.rst'
+    - LICENSE
   workflow_dispatch: {}
 
 permissions:

+ 10 - 0
.github/workflows/integration.yaml

@@ -12,9 +12,19 @@ on:
   push:
     branches:
     - main
+    paths-ignore:
+    - 'docs/**'
+    - '**.md'
+    - '**.rst'
+    - LICENSE
   pull_request:
     branches:
       - main
+    paths-ignore:
+    - 'docs/**'
+    - '**.md'
+    - '**.rst'
+    - LICENSE
   workflow_dispatch: {}
 
 permissions: