Conversation
Copilot
AI
changed the title
[WIP] Add enforcement mechanism for CODEOWNERS file
Add Feb 27, 2026
export-section command to CodeownersTool for CODEOWNERS section enforcement
Copilot stopped work on behalf of
danieljurek due to an error
February 27, 2026 18:45
Copilot
AI
changed the title
Add
Add Feb 27, 2026
export-section command to CodeownersTool for CODEOWNERS section enforcementexport-section command to CodeownersTool and protected-section enforcement to codeowners-linter pipeline
Copilot stopped work on behalf of
danieljurek due to an error
February 27, 2026 18:49
Copilot
AI
changed the title
Add
Define export-section command for azsdk-cli and CODEOWNERS section protection in codeowners-linter pipeline
Feb 27, 2026
export-section command to CodeownersTool and protected-section enforcement to codeowners-linter pipeline
Copilot stopped work on behalf of
danieljurek due to an error
February 27, 2026 19:12
Copilot
AI
changed the title
Define export-section command for azsdk-cli and CODEOWNERS section protection in codeowners-linter pipeline
Add Feb 27, 2026
export-section command to CodeownersTool and CODEOWNERS section change detection to codeowners-linter pipeline
Copilot stopped work on behalf of
danieljurek due to an error
February 27, 2026 19:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two related changes to enable detection of modifications to protected CODEOWNERS sections in PRs.
azsdk config codeowners export-section(Issue 1)New CLI-only subcommand under
CodeownersToolthat reads one or more named sections from a CODEOWNERS file and writes their content to a single output file.--sectionis required and multi-value; missing sections log an error and exit 1.Uses the existing
CodeownersSectionFinder.FindSectionutility.codeowners-linter.ymlsection change detection (Issue 2)Inside the existing PR-only block:
azsdkviainstall-azsdk-cli.yml(always latest)Client Librariessection on the base branch →$(Build.ArtifactStagingDirectory)/codeowners-sections/before.txt.../after.txtNo new pipeline parameters; section names are hardcoded in the step commands.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.