Browse Source

feat: 修改ci触发条件

xieyonghong 3 năm trước cách đây
mục cha
commit
9c1e86d4cd
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      .github/workflows/ci.yml

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

@@ -1,6 +1,10 @@
 name: Node CI
 
-on: [ push, pull_request ]
+on: 
+    push: 
+        branches: ["master", "2.0"]
+    pull_request: 
+        branches: ["master", "2.0"]
 
 jobs:
   build: