فهرست منبع

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 18 ساعت پیش
والد
کامیت
f1c5ff1599
2فایلهای تغییر یافته به همراه20 افزوده شده و 0 حذف شده
  1. 10 0
      .github/workflows/integration-cloud.yaml
  2. 10 0
      .github/workflows/integration.yaml

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

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

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

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