فهرست منبع

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
 
-on: [ push, pull_request ]
+on: 
+    push: 
+        branches: ["master", "2.0"]
+    pull_request: 
+        branches: ["master", "2.0"]
 
 jobs:
   build: