Skip to content

Fix lint-go workflow: Remove unused logger variable#12304

Merged
pelikhan merged 2 commits intomainfrom
copilot/fix-lint-go-workflow-again
Jan 28, 2026
Merged

Fix lint-go workflow: Remove unused logger variable#12304
pelikhan merged 2 commits intomainfrom
copilot/fix-lint-go-workflow-again

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

The lint-go workflow was failing due to an unused logger variable in pkg/cli/add_workflow_pr.go.

Changes

  • Removed unused addPRLog logger variable declaration
  • Removed unused logger package import
-import (
-	"fmt"
-	"math/rand"
-	"os"
-	"strings"
-
-	"github.com/githubnext/gh-aw/pkg/console"
-	"github.com/githubnext/gh-aw/pkg/logger"
-)
-
-var addPRLog = logger.New("cli:add_workflow_pr")
+import (
+	"fmt"
+	"math/rand"
+	"os"
+	"strings"
+
+	"github.com/githubnext/gh-aw/pkg/console"
+)
Original prompt

Fix the failing GitHub Actions workflow lint-go
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 61758345655
Job URL: https://github.com/githubnext/gh-aw/actions/runs/21445050194/job/61758345655


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…r.go

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow lint-go Fix lint-go workflow: Remove unused logger variable Jan 28, 2026
Copilot AI requested a review from pelikhan January 28, 2026 16:29
@pelikhan pelikhan marked this pull request as ready for review January 28, 2026 16:53
@pelikhan pelikhan merged commit 198c139 into main Jan 28, 2026
113 checks passed
@pelikhan pelikhan deleted the copilot/fix-lint-go-workflow-again branch January 28, 2026 16:53
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.

2 participants