From e49581a75031aecf6ad461dfe14b31db409f2f6f Mon Sep 17 00:00:00 2001 From: Brandur Leach Date: Sun, 15 Dec 2024 13:10:52 -0800 Subject: [PATCH] Have GitHub Actions only run on `master` branch pushes (#379) Have GitHub Actions only run on `master` branch pushes so that we don't get doubled up runs with every pull request, which is quite irking. The downside is that this will cause CI not to run for branches which are pushed and which don't have a pull request. --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ff148870..93f1ca944 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,6 +23,8 @@ env: on: pull_request: push: + branches: + - master schedule: # Once a week on Tuesday. - cron: "0 0 * * TUE"