ci: prevent duplicate workflow runs for xgopilot branches

Add !xgopilot/** exclusion pattern to all workflow trigger configurations,
matching the existing dependabot pattern. This ensures that xgopilot branches
only trigger CI checks on pull_request events, eliminating redundant push
event triggers.

Fixes #1340

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
luoliwoshang
2025-10-14 19:00:47 +08:00
parent 1ee4da9851
commit bf05779f2f
6 changed files with 9 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ on:
branches:
- "**"
- "!dependabot/**"
- "!xgopilot/**"
pull_request:
branches: ["**"]

View File

@@ -5,6 +5,7 @@ on:
branches:
- "**"
- "!dependabot/**"
- "!xgopilot/**"
pull_request:
branches: ["**"]

View File

@@ -8,6 +8,7 @@ on:
branches:
- "**"
- "!dependabot/**"
- "!xgopilot/**"
pull_request:
branches: ["**"]

View File

@@ -8,6 +8,7 @@ on:
branches:
- "**"
- "!dependabot/**"
- "!xgopilot/**"
pull_request:
branches: ["**"]

View File

@@ -2,7 +2,10 @@ name: Release Build
on:
push:
branches: ["**"]
branches:
- "**"
- "!dependabot/**"
- "!xgopilot/**"
tags: ["*"]
pull_request:
branches: ["**"]

View File

@@ -6,6 +6,7 @@ on:
branches:
- "**"
- "!dependabot/**"
- "!xgopilot/**"
pull_request:
branches: ["**"]