Explorar o código

meta: limit the number of unnecessary CI runs (#4086)

Antoine du Hamel %!s(int64=2) %!d(string=hai) anos
pai
achega
7e291abd98

+ 5 - 0
.github/workflows/ci.yml

@@ -6,6 +6,11 @@ on:
   pull_request:
   pull_request:
     # We want all branches so we configure types to be the GH default again
     # We want all branches so we configure types to be the GH default again
     types: [ opened, synchronize, reopened ]
     types: [ opened, synchronize, reopened ]
+    paths-ignore:
+      - 'examples/**'
+      - 'private/**'
+      - 'website/**'
+      - '.github/workflows/**'
 
 
 jobs:
 jobs:
   unit_tests:
   unit_tests:

+ 3 - 0
.github/workflows/companion.yml

@@ -5,6 +5,9 @@ on:
   pull_request:
   pull_request:
     # We want all branches so we configure types to be the GH default again
     # We want all branches so we configure types to be the GH default again
     types: [ opened, synchronize, reopened ]
     types: [ opened, synchronize, reopened ]
+    paths:
+      - yarn.lock
+      - 'packages/@uppy/companion/**'
 
 
 jobs:
 jobs:
   test:
   test:

+ 1 - 1
.github/workflows/e2e.yml

@@ -16,7 +16,7 @@ on:
       - 'examples/**'
       - 'examples/**'
       - 'private/**'
       - 'private/**'
       - 'website/**'
       - 'website/**'
-      - .github/workflows/e2e.yml
+      - '.github/workflows/**'
   pull_request:
   pull_request:
     types: [ opened, synchronize, reopened ]
     types: [ opened, synchronize, reopened ]
     paths:
     paths:

+ 3 - 0
.github/workflows/website.yml

@@ -3,6 +3,9 @@ name: Deploy uppy.io
 on:
 on:
   push:
   push:
     branches: main
     branches: main
+    paths:
+      - yarn.lock
+      - 'website/**'
 
 
 jobs:
 jobs:
   deploy:
   deploy: