github: actions: only build certain branches

This enables build-testing only on master as well as next and release
branches.
This commit is contained in:
David Bauer 2020-04-09 20:33:25 +02:00 committed by Martin Weinelt
parent 7b7cde7256
commit d3f5adcfa4
2 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,10 @@
name: Build Gluon name: Build Gluon
on: on:
push: push:
branches:
- master
- next
- v20*
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: jobs:

View File

@ -9,6 +9,10 @@ ACTIONS_HEAD = """
name: Build Gluon name: Build Gluon
on: on:
push: push:
branches:
- master
- next
- v20*
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: jobs: