summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 65cfc62..af5f313 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,6 +1,13 @@
name: CI
-on: [push, pull_request]
+on:
+ # Run the jobs on either push or a pull_request, but not both.
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
jobs:
build-linux: