From 1befcb58828b0df46aba985be20e88fc3c46c0db Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Wed, 18 Feb 2026 10:10:02 -0300 Subject: [PATCH] Stop building both branch & PR with pushes Build pushes to the main branch and open PRs, but not pushes to other branches. Allow workflow_dispatch to build them manually if we want to. --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6881eda8..e745d5ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,10 @@ name: Test -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + workflow_dispatch: jobs: test: strategy: