diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2021-02-23 07:51:31 +0000 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2021-02-22 23:56:31 -0800 |
commit | b8e5f43b082c5399bf1ee723c3fd3c19cecd843e (patch) | |
tree | 6b9a802e2d7c23f6bab6f0066ccba4e5b942fcfc | |
parent | 04dbaae5aa95026167b03b39b6042a610fa9934d (diff) | |
download | rabbitmq-c-b8e5f43b082c5399bf1ee723c3fd3c19cecd843e.tar.gz |
ci: only run on a pull-request to master or a push to master
Signed-off-by: GitHub <noreply@github.com>
-rw-r--r-- | .github/workflows/ci.yml | 9 |
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: |