chore(ci): only build on main branch

pull/2597/head
Noah Hsu 2022-12-05 19:52:02 +08:00
parent 2bb200af87
commit a28aaceaad
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@ name: build
on:
push:
branches: [ '**' ]
branches: [ 'main' ]
pull_request:
branches: [ '**' ]
branches: [ 'main' ]
jobs:
build: