ci: only run on pushes to main
Non-main branches are gonna have to open a PR anyway, so we don't need to run it twice.
This commit is contained in:
parent
0c4065619d
commit
7c8e8fe049
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -1,6 +1,7 @@
|
||||
name: Build
|
||||
on:
|
||||
push: {}
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request: {}
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
x
Reference in New Issue
Block a user