gha: Only run on pushes to master

Otherwise PRs from branches to master always spawn duplicate jobs.
This commit is contained in:
Christian Decker
2023-01-01 16:35:05 +01:00
parent 910718e5f7
commit 7d25585273

View File

@@ -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 }}