gci: Only test pushes if it's master

Should avoid many of the duplicate test runs
This commit is contained in:
Christian Decker 2022-02-24 14:56:09 +01:00 committed by Rusty Russell
parent 941f217778
commit 8857789a54
3 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,10 @@
name: FreeBSD Test
on: [push, pull_request]
on:
push:
branches:
- "master"
pull_request:
jobs:
testfreebsd:

View File

@ -1,6 +1,10 @@
---
name: Continuous Integration
on: [push, pull_request]
on:
push:
branches:
- "master"
pull_request:
jobs:
smoke-test:
name: Smoke Test ${{ matrix.cfg }}

View File

@ -1,6 +1,7 @@
---
name: Mac OS pytest
on: [pull_request]
on:
pull_request:
jobs:
smoke-test:
name: Smoke Test macOS