Browse Source

Don't run duplicate actions when pushing to a branch in the main repo

Sam Clements 3 years ago
parent
commit
6c5cdb84c5
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/ci.yml

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

@@ -1,7 +1,11 @@
 ---
 name: ci
 
-on: [pull_request, push]
+on:
+  pull_request:
+  push:
+    branches:
+      - master
 
 env:
   # Just a reassurance to mitigate sudden network connection problems