From c2bdb2587dbcfdcb6e3f1f9f5b1613be288b2ce1 Mon Sep 17 00:00:00 2001 From: "joseph@dxw.com" Date: Fri, 15 Nov 2024 12:38:41 +0000 Subject: [PATCH] Stop CI running twice When a new PR is created, we run CI on both push and the PR, so we end up with two runs. This is unnecessary. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 462d747..e80d5f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,10 @@ name: CI on: - - push - - pull_request + pull_request: + branches: + - master + push: jobs: test: