From 36656f52df5de398032888a6a7af7adf24b08016 Mon Sep 17 00:00:00 2001 From: graycreate Date: Fri, 28 Nov 2025 23:17:41 +0800 Subject: [PATCH] ci: optimize workflow triggers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CI workflow now only runs on pull_request to main branch - Added workflow_dispatch for manual triggering - Removed push trigger to avoid duplicate runs (release handles push to main) - Removed develop branch from triggers to simplify branch strategy 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b45363e9..dffdeb1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,9 @@ name: CI on: - push: - branches: [ main, develop ] pull_request: - branches: [ main, develop ] + branches: [main] + workflow_dispatch: permissions: contents: read