Skip to content

Commit 1530d5a

Browse files
Exclude eng/ directory from http-client-csharp publish triggers (#9072)
Changes to engineering infrastructure (pipeline configs, build scripts, rulesets) in `packages/http-client-csharp/eng/` should not trigger emitter version publishes. ## Changes Modified `packages/http-client-csharp/eng/pipeline/publish.yml` to exclude the `eng/` directory from publish triggers: ```yaml trigger: branches: include: - main paths: include: - packages/http-client-csharp/ exclude: - packages/http-client-csharp/eng/ ``` This prevents unnecessary publishes when modifying: - Pipeline YAML files - PowerShell build/test scripts - Code analysis rulesets and StyleCop configs - Pipeline images and other eng resources <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>Don't publish new emitter version if only changes are to eng directory</issue_title> > <issue_description>We should exclude changes to http-client-csharp/eng path as triggering a publish.</issue_description> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> - Fixes #9071 <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: JoshLove-msft <[email protected]>
1 parent 845a571 commit 1530d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/http-client-csharp/eng/pipeline/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ trigger:
55
paths:
66
include:
77
- packages/http-client-csharp/
8+
exclude:
9+
- packages/http-client-csharp/eng/
810

911
pr: none
1012

0 commit comments

Comments
 (0)