Browse Source

Update workflow to run when required (#941)

Sidharth Mohanty 1 year ago
parent
commit
bb28569abf
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .github/workflows/ci.yml

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

@@ -3,7 +3,15 @@ name: ci
 on:
   push:
     branches: [main]
+    paths:
+      - 'embedchain/**'
+      - 'tests/**'
+      - 'examples/**'
   pull_request:
+    paths:
+      - 'embedchain/**'
+      - 'tests/**'
+      - 'examples/**'
 
 jobs:
   build: