From df9a20e768a5d460f352130142367832f8cd71a7 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Fri, 13 Mar 2026 10:23:04 +0100 Subject: [PATCH] ci: prevent duplicate runs on PR branches Only trigger on push to main and on pull_request events. Previously push to any branch + pull_request both fired, causing every PR push to run CI twice. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3009a8e..d4b88bf 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,11 +2,9 @@ name: CI on: push: - branches: - - "**" - pull_request: branches: - main + pull_request: env: CARGO_TERM_COLOR: always