From a28aaceaada826ab4ffb091720026387724c9c8e Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Mon, 5 Dec 2022 19:52:02 +0800 Subject: [PATCH] chore(ci): only build on main branch --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81e42198..5a6ce275 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: build on: push: - branches: [ '**' ] + branches: [ 'main' ] pull_request: - branches: [ '**' ] + branches: [ 'main' ] jobs: build: