commit d13b7b7c069505086959ba805458b10791c0b6b0
parent 5f96463537ee5b750ce72138ef7d990cceed72c4
Author: niyrme <53240445+niyrme@users.noreply.github.com>
Date: Fri, 2 Jul 2021 16:43:30 +0200
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)
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -1,5 +1,8 @@
name: CI
-on: [push, pull_request]
+on:
+ pull_request:
+ push:
+ branches: [ master ]
jobs:
build-linux-gcc: