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:
1
.github/workflows/doc.yml
vendored
1
.github/workflows/doc.yml
vendored
@@ -5,6 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
- "!dependabot/**"
|
- "!dependabot/**"
|
||||||
|
- "!xgopilot/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["**"]
|
branches: ["**"]
|
||||||
|
|
||||||
|
|||||||
1
.github/workflows/fmt.yml
vendored
1
.github/workflows/fmt.yml
vendored
@@ -5,6 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
- "!dependabot/**"
|
- "!dependabot/**"
|
||||||
|
- "!xgopilot/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["**"]
|
branches: ["**"]
|
||||||
|
|
||||||
|
|||||||
1
.github/workflows/go.yml
vendored
1
.github/workflows/go.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
- "!dependabot/**"
|
- "!dependabot/**"
|
||||||
|
- "!xgopilot/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["**"]
|
branches: ["**"]
|
||||||
|
|
||||||
|
|||||||
1
.github/workflows/llgo.yml
vendored
1
.github/workflows/llgo.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
- "!dependabot/**"
|
- "!dependabot/**"
|
||||||
|
- "!xgopilot/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["**"]
|
branches: ["**"]
|
||||||
|
|
||||||
|
|||||||
5
.github/workflows/release-build.yml
vendored
5
.github/workflows/release-build.yml
vendored
@@ -2,7 +2,10 @@ name: Release Build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["**"]
|
branches:
|
||||||
|
- "**"
|
||||||
|
- "!dependabot/**"
|
||||||
|
- "!xgopilot/**"
|
||||||
tags: ["*"]
|
tags: ["*"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["**"]
|
branches: ["**"]
|
||||||
|
|||||||
1
.github/workflows/targets.yml
vendored
1
.github/workflows/targets.yml
vendored
@@ -6,6 +6,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
- "!dependabot/**"
|
- "!dependabot/**"
|
||||||
|
- "!xgopilot/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["**"]
|
branches: ["**"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user