Skip to content

Add .claude/* to CI pipeline path exclusion/inclusion lists#66446

Merged
wtgodbe merged 2 commits intomainfrom
copilot/add-claude-to-path-exclusion-lists
Apr 23, 2026
Merged

Add .claude/* to CI pipeline path exclusion/inclusion lists#66446
wtgodbe merged 2 commits intomainfrom
copilot/add-claude-to-path-exclusion-lists

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 23, 2026

Add .claude/* to CI pipeline path exclusion/inclusion lists

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Treat .claude/* the same as .github/* in CI path filters — changes to these agent config files should not trigger or block CI builds.

Description

  • ci-public.yml / quarantined-pr.yml — Added - .claude/* to pr.paths.exclude so PRs touching only .claude/* skip CI runs, consistent with .github/* and other non-source paths.
  • report-green.yml — Added - .claude/* to pr.paths.include so the "always green" reporting job covers .claude/*-only PRs, preventing Build Analysis from hanging on documentation/config-only changes.
Original prompt

Add .claude/* to path exclusion/inclusion lists in CI pipeline YAML files wherever .github/* is already listed.

The following files need to be updated:

  1. .azure/pipelines/ci-public.yml — Add - .claude/* to the pr.paths.exclude list (after the - .github/* line, around line 25).

  2. .azure/pipelines/quarantined-pr.yml — Add - .claude/* to the pr.paths.exclude list (after the - .github/* line).

  3. .azure/pipelines/report-green.yml — Add - .claude/* to the pr.paths.include list (after the - .github/* line). Note: this file uses an include list for doc-only paths, so .claude/* should be added there to match the same pattern.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: Open a PR in main that adds the ".claude" folder to any exclusion list where ".github" is listed, or any other relevant place

Assistant: I'm waiting for your confirmation to proceed with creating the pull request.

This pull request was created from Copilot chat.

@wtgodbe wtgodbe marked this pull request as ready for review April 23, 2026 20:24
@wtgodbe wtgodbe self-requested a review as a code owner April 23, 2026 20:24
Copilot AI review requested due to automatic review settings April 23, 2026 20:24
@wtgodbe wtgodbe requested a review from a team as a code owner April 23, 2026 20:24
Copilot AI changed the title [WIP] Add .claude/* to path exclusion and inclusion lists in CI YAML files Add .claude/* to CI pipeline path exclusion/inclusion lists Apr 23, 2026
Copilot AI requested a review from wtgodbe April 23, 2026 20:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Azure Pipelines PR path filters so changes under .claude/ are treated similarly to .github/ across the relevant CI YAMLs (excluded from “full CI” PR triggers, but included for the “report green” no-op pipeline).

Changes:

  • Add .claude/* to pr.paths.exclude in ci-public.yml
  • Add .claude/* to pr.paths.exclude in quarantined-pr.yml
  • Add .claude/* to pr.paths.include in report-green.yml

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.azure/pipelines/ci-public.yml Excludes .claude/* from PR path triggers (like .github/*).
.azure/pipelines/quarantined-pr.yml Excludes .claude/* from PR path triggers (like .github/*).
.azure/pipelines/report-green.yml Includes .claude/* among doc-only/no-op paths so the “always green” job can run when other pipelines are skipped.

@github-actions github-actions Bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 23, 2026
@wtgodbe wtgodbe merged commit 82a36d1 into main Apr 23, 2026
20 of 28 checks passed
@wtgodbe wtgodbe deleted the copilot/add-claude-to-path-exclusion-lists branch April 23, 2026 21:33
@dotnet-policy-service dotnet-policy-service Bot added this to the 11.0-preview4 milestone Apr 23, 2026
@wtgodbe wtgodbe modified the milestones: 11.0-preview4, 11.0-preview5 Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants