From 7d25585273bef55e4409abe9b442a250625fac8a Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sun, 1 Jan 2023 16:35:05 +0100 Subject: [PATCH] gha: Only run on pushes to `master` Otherwise PRs from branches to master always spawn duplicate jobs. --- .github/workflows/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1b4b183..c5be5c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,14 +7,9 @@ concurrency: on: push: - pull_request: branches: [ master ] - - schedule: - # Schedule a test once a day so we check compatibility with the - # upstream c-lightning master - - cron: '0 17 * * *' - + pull_request: + jobs: build-and-test: name: Test PY=${{ matrix.python-version }}, DEV=${{ matrix.developer }}, EXP=${{ matrix.experimental }}, DEP=${{ matrix.deprecated }}