Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions eng/common/pipelines/codeowners-linter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Lint the CODEOWNERS file for a given repository and filter out baseline errors
# Note: Due to the nature of the verifications, which includes source paths/globs
# for the repository, this pipeline cannot use sparse-checkout.
# Uses partial clone (fetchFilter: tree:0) to avoid downloading full git history while allowing branch operations
trigger: none

pr:
Expand Down Expand Up @@ -39,6 +38,10 @@ stages:
UserOrgUri: "https://azuresdkartifacts.blob.core.windows.net/azure-sdk-write-teams/user-org-visibility-blob"

steps:
- checkout: self
fetchFilter: tree:0
fetchTags: false

- pwsh: |
dotnet tool install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"
displayName: Install CodeownersLinter
Expand Down