瀏覽代碼

Merge pull request #6 from niyrme/ci-fix

Fix CI running all actions twice on PR
Alexey Kutepov 4 年之前
父節點
當前提交
44712c3ff8
共有 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: