Skip to content

[WIP] Fix failing GitHub Actions job lint-go#36545

Merged
pelikhan merged 3 commits into
mainfrom
copilot/fix-lint-go-job
Jun 3, 2026
Merged

[WIP] Fix failing GitHub Actions job lint-go#36545
pelikhan merged 3 commits into
mainfrom
copilot/fix-lint-go-job

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Fix the failing GitHub Actions job "lint-go"
Analyze the Actions logs, identify the root cause of the failure, and implement a fix.
Check run ID: 79183113776
Job URL: https://github.com/github/gh-aw/actions/runs/26851093760/job/79183113776

Copilot AI and others added 2 commits June 2, 2026 22:45
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan June 2, 2026 22:50
@pelikhan pelikhan marked this pull request as ready for review June 3, 2026 00:49
Copilot AI review requested due to automatic review settings June 3, 2026 00:49
@pelikhan pelikhan merged commit bac82d0 into main Jun 3, 2026
@pelikhan pelikhan deleted the copilot/fix-lint-go-job branch June 3, 2026 00:49
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.

Pull request overview

This PR addresses the failing lint-go GitHub Actions job by updating Go code to satisfy the modernize linter, and it also updates the generated agent routing workflow.

Changes:

  • Replace HasPrefix(...) + TrimPrefix(...) with strings.CutPrefix(...) in the pull_request_target checkout codemod to satisfy modernize (stringscutprefix) linting.
  • Regenerate/update .github/workflows/agentic_commands.yml to include additional smoke-* routes in the embedded routing metadata.
Show a summary per file
File Description
pkg/cli/codemod_pull_request_target_checkout_false.go Refactors prefix parsing to use strings.CutPrefix, resolving the modernize lint failure in lint-go.
.github/workflows/agentic_commands.yml Updates the generated agentic command routing metadata (adds many smoke-* routes).

Copilot's findings

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

@@ -1,4 +1,4 @@
# gh-aw-commands: {"payload_version":"v1","schema_version":"v1","compiler_version":"dev","commands":["ace","approach-validator","archie","brave","cloclo","craft","grumpy","matt","mergefest","nit","plan","poem-bot","review","ruflo","scout","security-review","summarize","tidy","unbloat"],"workflows":["ace-editor","approach-validator","archie","brave","ci-doctor","cloclo","craft","design-decision-gate","dev","grumpy-reviewer","mattpocock-skills-reviewer","mergefest","necromancer","pdf-summary","plan","poem-bot","pr-code-quality-reviewer","pr-nitpick-reviewer","ruflo-backed-task","scout","security-review","test-quality-sentinel","tidy","unbloat-docs"]}
# gh-aw-commands: {"payload_version":"v1","schema_version":"v1","compiler_version":"dev","commands":["ace","approach-validator","archie","brave","cloclo","craft","grumpy","matt","mergefest","nit","plan","poem-bot","review","ruflo","scout","security-review","smoke-agent-all-merged","smoke-agent-all-none","smoke-agent-public-approved","smoke-agent-public-none","smoke-agent-scoped-approved","smoke-antigravity","smoke-call-workflow","smoke-claude","smoke-codex","smoke-copilot","smoke-copilot-arm","smoke-copilot-sdk","smoke-create-cross-repo-pr","smoke-crush","smoke-gemini","smoke-multi-pr","smoke-opencode","smoke-otel-backends","smoke-pi","smoke-project","smoke-service-ports","smoke-temporary-id","smoke-test-tools","smoke-update-cross-repo-pr","summarize","tidy","unbloat"],"workflows":["ace-editor","approach-validator","archie","brave","ci-doctor","cloclo","craft","design-decision-gate","dev","grumpy-reviewer","mattpocock-skills-reviewer","mergefest","necromancer","pdf-summary","plan","poem-bot","pr-code-quality-reviewer","pr-nitpick-reviewer","ruflo-backed-task","scout","security-review","smoke-agent-all-merged","smoke-agent-all-none","smoke-agent-public-approved","smoke-agent-public-none","smoke-agent-scoped-approved","smoke-antigravity","smoke-call-workflow","smoke-claude","smoke-codex","smoke-copilot","smoke-copilot-arm","smoke-copilot-sdk","smoke-create-cross-repo-pr","smoke-crush","smoke-gemini","smoke-multi-pr","smoke-opencode","smoke-otel-backends","smoke-pi","smoke-project","smoke-service-ports","smoke-temporary-id","smoke-test-tools","smoke-update-cross-repo-pr","test-quality-sentinel","tidy","unbloat-docs"]}
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