Skip to content

Fix go fmt failure in CreatePullRequestsConfig#32235

Merged
pelikhan merged 1 commit into
mainfrom
copilot/lint-go
May 15, 2026
Merged

Fix go fmt failure in CreatePullRequestsConfig#32235
pelikhan merged 1 commit into
mainfrom
copilot/lint-go

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

Bug Fix

The referenced CI job failed at the Go formatting gate (go fmt ./...). The failure was caused by formatting drift in pkg/workflow/create_pull_request.go, which prevented the Go lint workflow from completing.

What was the bug?

  • Formatting drift in Go source
    • CreatePullRequestsConfig had spacing not aligned with gofmt output, causing fmt-check to fail.

How did you fix it?

  • Applied canonical gofmt formatting
    • Updated the struct field line formatting in pkg/workflow/create_pull_request.go to match standard Go formatter output.
  • Scope kept minimal
    • No behavior, API, or configuration logic changes; only formatting normalization.

Testing

  • Formatting gate alignment
    • Change is limited to formatting compliance for the Go lint/fmt path.
BranchPrefix string `yaml:"branch-prefix,omitempty"` // Optional prefix for the pull request branch name (e.g. "signed/"). Applied before the agent-specified or auto-generated branch name.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Fix Go fmt lint in create_pull_request config Fix go fmt failure in CreatePullRequestsConfig May 15, 2026
Copilot AI requested a review from pelikhan May 15, 2026 00:31
@pelikhan pelikhan marked this pull request as ready for review May 15, 2026 00:31
Copilot AI review requested due to automatic review settings May 15, 2026 00:31
@pelikhan pelikhan merged commit 28b6e31 into main May 15, 2026
3 checks passed
@pelikhan pelikhan deleted the copilot/lint-go branch May 15, 2026 00:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

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