ソースを参照

Fix CI running all actions twice on PR

this style of CI makes it that CI only runs on PRs and push to master branch instead of all PRs and all pushes (include push to PR which makes the  CI run twice each time)
niyrme 4 年 前
コミット
d13b7b7c06
1 ファイル変更4 行追加1 行削除
  1. 4 1
      .github/workflows/ci.yml

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

@@ -1,5 +1,8 @@
 name: CI
 name: CI
-on: [push, pull_request]
+on:
+  pull_request:
+  push:
+    branches: [ master ]
 
 
 jobs:
 jobs:
   build-linux-gcc:
   build-linux-gcc: