From bc56fd06e3b9669adfd4ae301ac2d14b68d71517 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Wed, 8 Sep 2021 16:53:10 +0100 Subject: [PATCH] Only run CI on master or PRs branched from master (#5561) We really don't need to run CI twice for every PR. --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c284b85262..744f38992c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,13 @@ name: Run Tests -on: [push, pull_request] +on: + # Trigger the workflow on push or pull request, but only for the master branch + push: + branches: + - master + pull_request: + branches: + - master jobs: run: