Sfoglia il codice sorgente

调整 github workflow test 的触发逻辑

Signed-off-by: 716 <[email protected]>
716 3 anni fa
parent
commit
9d225409ec
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      .github/workflows/build-test.yml

+ 3 - 2
.github/workflows/build-test.yml

@@ -1,8 +1,9 @@
 on:
   push:
+    branches: [master]
   pull_request:
-    branches:
-      - master
+    # The branches below must be a subset of the branches above
+    branches: [master]
 
 # for cache
 # checkout https://github.com/magnetikonline/action-golang-cache