Skip to content
Open
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
2 changes: 1 addition & 1 deletion build-1es-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ extends:
inputs:
githubConnection: 'azcopy-github-connection'
repositoryName: 'Azure/azure-storage-azcopy'
action: 'edit'
action: 'create'
Copy link

Copilot AI Nov 19, 2025

Choose a reason for hiding this comment

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

Changing the action from 'edit' to 'create' may cause pipeline failures when a GitHub release with the same tag already exists. The 'create' action will fail if the release tag is already present, whereas 'edit' would update the existing release.

If the intent is to prevent overwriting releases, consider:

  1. Using 'create' with additional checks to ensure the tag doesn't exist
  2. Using 'edit' with addChangeLog: false or similar parameters to prevent unintended overwrites
  3. Adding conditional logic to check if the release exists before deciding whether to create or edit

Note that assetUploadMode: replace on line 1056 already controls asset overwriting behavior, so this change may not achieve the intended goal of preventing overwrites.

Suggested change
action: 'create'
action: 'edit'

Copilot uses AI. Check for mistakes.
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
title: "AzCopy v$(azcopy_version)"
Expand Down
Loading