From 81399993accc860ca6c578d3a12f081a361b5fc9 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Sat, 7 Mar 2026 18:56:53 +0100 Subject: [PATCH] ci: restrict push trigger to main branch Avoid duplicate CI runs on PRs by limiting the push trigger to the main branch only. PRs are already covered by the pull_request trigger. Signed-off-by: jimisola --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84b1d02..546120a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,8 @@ on: workflow_call: workflow_dispatch: push: + branches: + - main pull_request: types: - opened