aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJoe Richey <joerichey@google.com>2021-03-31 16:00:16 -0700
committerJoe Richey <joerichey@google.com>2021-03-31 16:00:16 -0700
commitc3bb6c7d9304894a35a2229f4ceda76f745fc264 (patch)
tree18c7f6c2060882ad7d430b5128f978a9c898f145 /.github
parent2fa66887a238311a026f44b40ec1b1d876ec3cfd (diff)
Only run CI on master branch and PRs to master
This avoids duplicate CI checks Signed-off-by: Joe Richey <joerichey@google.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3dcafd3..fdd3021 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,13 @@
#
name: CI
-on: [pull_request, push]
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
jobs:
build: