build: ignore most branches for build

This commit is contained in:
EnixCoda 2020-04-08 16:15:51 +08:00
parent 32e1f51d0a
commit 99cb4558bb
No known key found for this signature in database
GPG key ID: FE06F5DFC1C9B8E4
2 changed files with 5 additions and 3 deletions

View file

@ -2,8 +2,11 @@ name: Build
on:
push:
branches:
- build/*
branches-ignore:
- do-not-build
pull_request:
branches-ignore:
- do-not-build
jobs:
build:

View file

@ -4,7 +4,6 @@ on:
push:
tags:
- v[0-9]+.* # roughly matching version numbers
- test
jobs:
release: