Преглед на файлове

[添加] ci 触发方式

guozhanxin преди 4 години
родител
ревизия
0e4228dbec
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      .github/workflows/action_utest.yml

+ 4 - 1
.github/workflows/action_utest.yml

@@ -1,5 +1,8 @@
 name: AutoTestCI
-on: push
+
+# Controls when the action will run. Triggers the workflow on push or pull request
+on: [push, pull_request]
+
 jobs:
   test:
     runs-on: ubuntu-latest