From b7c17e0732b7ba19940a65ca1e27eabd972afec5 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Mon, 27 Apr 2026 10:11:29 -0300 Subject: [PATCH] ci: fix build running twice on pull requests --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3511f7fe0c4f487eb3fc9009795361ada8e2eff7..5eca2452c6c2a3c731a89eb665e92e090278a6e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,8 @@ name: build -on: [push, pull_request] +on: + push: + branches: [main] + pull_request: jobs: build: