From c2193f21b0fa02656d78e7ae52f313f82635d9fb Mon Sep 17 00:00:00 2001 From: Alexander Trakhimenok Date: Thu, 20 Aug 2026 21:51:58 +0100 Subject: [PATCH] ci: run push builds on the default branch only A PR branch fired both the push and the pull_request trigger, so every PR produced two identical runs. Restricting push: to the default branch leaves pull_request as the single PR signal and keeps the post-merge run on main. --- .github/workflows/go.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 44f96e6..78ec9ae 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,8 +2,7 @@ name: Go CI on: push: - branches: - - '**' + branches: [main] # branches-ignore: # - renovate/** tags: