Browse Source

feat: 修改ci触发条件

xieyonghong 3 years ago
parent
commit
9c1e86d4cd
1 changed files with 5 additions and 1 deletions
  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: