ci: ONly run on pushes to master

This prevents running the CI twice when opening a PR with a non-master
branch.

Signed-off-by: Joe Richey <joerichey@google.com>
This commit is contained in:
Joe Richey 2022-03-23 21:15:59 -07:00 committed by Joseph Richey
parent 2a5dfec7cf
commit 4b44082d2c

View File

@ -1,4 +1,8 @@
on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
name: Test
jobs:
test-linux: