Actions: only test on pushes to master.

Continue to test all pull requests, but only retest pushes to
master so that work in progress prs don't create quite as much
test traffic.
This commit is contained in:
Stephen Williams 2021-01-18 12:43:24 -08:00
parent 9b432ba172
commit a19caf4fe6
1 changed files with 4 additions and 0 deletions

View File

@ -1,7 +1,11 @@
name: test
on:
# Every push onto the main branch triggers a retest.
push:
branches:
- master
# All pull_requests trigger a retest.
pull_request:
jobs: