Przeglądaj źródła

Avoid redundant CI runs

tevador 2 lat temu
rodzic
commit
48fa275d04
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      .github/workflows/c-cpp.yml

+ 4 - 1
.github/workflows/c-cpp.yml

@@ -1,6 +1,9 @@
 name: C/C++ CI
 
-on: [push, pull_request]
+on:
+  push:
+    branches: [ master ]
+  pull_request:
 
 jobs:
   build-alpine: