Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add fetchTags: false to all checkout steps in runtime CI YAML files
Co-authored-by: elinor-fung <[email protected]>
  • Loading branch information
Copilot and elinor-fung committed Dec 10, 2025
commit 3bca529d321719690d4e291db53bed1e238deb2b
1 change: 1 addition & 0 deletions eng/common/templates-official/job/publish-build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
- checkout: ${{ parameters.repositoryAlias }}
fetchDepth: 3
clean: true
fetchTags: false
- task: DownloadBuildArtifacts@0
displayName: Download artifact
inputs:
Expand Down
1 change: 1 addition & 0 deletions eng/common/templates/job/execute-sdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
steps:
- checkout: self
clean: true
fetchTags: false

# If the template caller didn't provide an AzDO parameter, set them all up as Maestro vars.
- ${{ if not(and(parameters.AzDOProjectName, parameters.AzDOPipelineId, parameters.AzDOBuildId)) }}:
Expand Down
1 change: 1 addition & 0 deletions eng/common/templates/job/publish-build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
- checkout: ${{ parameters.repositoryAlias }}
fetchDepth: 3
clean: true
fetchTags: false
- task: DownloadBuildArtifacts@0
displayName: Download artifact
inputs:
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/common/evaluate-paths-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- checkout: self
clean: true
fetchDepth: 2
fetchTags: false

- ${{ if ne(parameters.paths[0], '') }}:
- ${{ each path in parameters.paths }}:
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/common/global-build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ jobs:
# as a stash of a shallow cloned repo is not currently supported.
${{ if ne(parameters.isSourceBuild, true) }}:
fetchDepth: $(checkoutFetchDepth)
fetchTags: false

- ${{ if and(eq(parameters.isOfficialBuild, true), notin(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator')) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/common/templates/runtimes/xplat-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,6 @@ jobs:
- checkout: self
clean: true
fetchDepth: $(checkoutFetchDepth)
fetchTags: false

- ${{ parameters.steps }}
1 change: 1 addition & 0 deletions eng/pipelines/installer/jobs/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ jobs:
- checkout: self
clean: true
fetchDepth: $(checkoutFetchDepth)
fetchTags: false

- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- ${{ if ne(parameters.osGroup, 'windows') }}:
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/libraries/base-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
- checkout: self
clean: true
fetchDepth: $(checkoutFetchDepth)
fetchTags: false

- ${{ if and(ne(parameters.liveRuntimeBuildConfig, ''), eq(parameters.runTests, true)) }}:
- template: /eng/pipelines/common/download-artifact-step.yml
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/libraries/stress/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ extends:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false

- bash: |
$(dockerfilesFolder)/build-docker-sdk.sh -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION) && \
Expand Down Expand Up @@ -112,6 +113,7 @@ extends:
clean: true
fetchDepth: 5
lfs: false
fetchTags: false

- powershell: |
$(dockerfilesFolder)/build-docker-sdk.ps1 -w -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/libraries/stress/ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ extends:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false

- bash: |
$(dockerfilesFolder)/build-docker-sdk.sh -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)
Expand Down Expand Up @@ -81,6 +82,7 @@ extends:
clean: true
fetchDepth: 5
lfs: false
fetchTags: false

- powershell: |
$(dockerfilesFolder)/build-docker-sdk.ps1 -w -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/official/jobs/prepare-signed-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- checkout: self
clean: true
fetchDepth: 20
fetchTags: false

- ${{ if eq(parameters.isOfficialBuild, true) }}:
- task: NuGetAuthenticate@1
Expand Down