Преглед изворни кода

feat: 修改ci触发条件

xieyonghong пре 3 година
родитељ
комит
9c1e86d4cd
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      .github/workflows/ci.yml

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

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