Skip to content

Fix package README error lint failure - #52196

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-copilot-issue
Aug 12, 2026
Merged

Fix package README error lint failure#52196
pelikhan merged 2 commits into
mainfrom
copilot/fix-copilot-issue

Conversation

Copilot AI commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The CGO workflow failed because the missing-package-README error violated staticcheck ST1005.

  • Error message
    • Remove terminal punctuation from the multiline guidance while preserving its content.
  • Regression coverage
    • Assert the complete error text, including the punctuation-compliant ending.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue reported in Copilot job 93980824766 Fix package README error lint failure Aug 12, 2026
Copilot AI requested a review from pelikhan August 12, 2026 01:39
@pelikhan
pelikhan marked this pull request as ready for review August 12, 2026 01:41
Copilot AI balanced review requested due to automatic review settings August 12, 2026 01:41
@pelikhan
pelikhan merged commit c709ffe into main Aug 12, 2026
1 check passed
@pelikhan
pelikhan deleted the copilot/fix-copilot-issue branch August 12, 2026 01:42

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

Fixes the staticcheck ST1005 failure for the missing package README error.

Changes:

  • Removes terminal punctuation from the error.
  • Adds exact error-text regression coverage.
Show a summary per file
File Description
pkg/cli/add_package_manifest.go Makes the error ST1005-compliant.
pkg/cli/add_package_manifest_test.go Verifies the complete error text.

Review details

Tip

Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.86.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