Filter checks to only run on push to main branch. (#372)

Keeps redundent pull request and push workflows from running when pushing to branches in the main repo.
pull/371/head snapshot-20211022.37
Stella Laurenzo 2021-10-21 21:23:21 -07:00 committed by GitHub
parent fe69bb339c
commit 92ae692387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
name: Build and Test
on:
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
inputs: