Skip to content

Commit a738f71

Browse files
azure-sdkCopilotweshaggard
authored
Sync eng/common directory with azure-sdk-tools for PR 13563 (#44660)
* Scope changes to codeowners-linter.yml only and use Azure DevOps checkout Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com> * Add explanatory comment about shallow clone optimization Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com> * Switch from fetchDepth to fetchFilter for branch checkout support Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
1 parent 0b4bec8 commit a738f71

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

eng/common/pipelines/codeowners-linter.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Lint the CODEOWNERS file for a given repository and filter out baseline errors
2-
# Note: Due to the nature of the verifications, which includes source paths/globs
3-
# for the repository, this pipeline cannot use sparse-checkout.
2+
# Uses partial clone (fetchFilter: tree:0) to avoid downloading full git history while allowing branch operations
43
trigger: none
54

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

4140
steps:
41+
- checkout: self
42+
fetchFilter: tree:0
43+
fetchTags: false
44+
4245
- pwsh: |
4346
dotnet tool install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"
4447
displayName: Install CodeownersLinter

0 commit comments

Comments
 (0)