From 7c8e8fe049859711a62af5d3bc1bf5e48ceef206 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 18 Jun 2025 20:40:46 +0200 Subject: [PATCH] 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. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aed7014e..2f265a60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: Build on: - push: {} + push: + branches: ["main"] pull_request: {} jobs: build: