From b8e5f43b082c5399bf1ee723c3fd3c19cecd843e Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Tue, 23 Feb 2021 07:51:31 +0000 Subject: ci: only run on a pull-request to master or a push to master Signed-off-by: GitHub --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.github') 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: -- cgit v1.2.1