Skip to content

fix: remove duplicate warning icon in update output - #47981

Merged
pelikhan merged 3 commits into
mainfrom
copilot/fix-double-warning-icon
Jul 25, 2026
Merged

fix: remove duplicate warning icon in update output#47981
pelikhan merged 3 commits into
mainfrom
copilot/fix-double-warning-icon

Conversation

Copilot AI commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

gh aw update printed a double warning icon (⚠ ⚠️) when a locally modified workflow was detected. console.FormatWarningMessage already prepends , but the message string passed to it also contained a hardcoded ⚠️ prefix.

  • pkg/cli/update_workflows.go: removed the redundant ⚠️ prefix from the format string

Before:

⚠ ⚠️  Local copy of ci-doctor has been modified from source

After:

⚠ Local copy of ci-doctor has been modified from source

Copilot AI and others added 2 commits July 25, 2026 11:14
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title fix: remove duplicate warning icon in update_workflows output fix: remove duplicate warning icon in update output Jul 25, 2026
Copilot AI requested a review from pelikhan July 25, 2026 11:15
@pelikhan
pelikhan marked this pull request as ready for review July 25, 2026 11:16
Copilot AI review requested due to automatic review settings July 25, 2026 11:16
@pelikhan
pelikhan merged commit 0a5504c into main Jul 25, 2026
19 checks passed
@pelikhan
pelikhan deleted the copilot/fix-double-warning-icon branch July 25, 2026 11:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the duplicate warning icon from locally modified workflow update output.

Changes:

  • Relies solely on console.FormatWarningMessage for the warning prefix.
Show a summary per file
File Description
pkg/cli/update_workflows.go Removes the redundant hardcoded warning icon.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Medium

@github-actions github-actions Bot mentioned this pull request Jul 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants