Explorar o código

feat: 修改ci触发条件

xieyonghong %!s(int64=3) %!d(string=hai) anos
pai
achega
9c1e86d4cd
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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: