Run "Lint and Format" CI job on push as well as pull request (#3412)

This makes the formatter run when pushing to local forks before a pull
request is made.

This is not run on the main branch.
This commit is contained in:
Tyler Veness
2021-06-08 23:22:40 -07:00
committed by GitHub
parent f7db09a128
commit 8284075ee4
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
name: Lint and Format
on: [pull_request]
on:
pull_request:
push:
branches-ignore:
- main
jobs:
wpiformat: