Skip to content

[WIP] Implement in-process actionlint linting using Go API#22876

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/replace-docker-actionlint-with-in-process
Closed

[WIP] Implement in-process actionlint linting using Go API#22876
Copilot wants to merge 1 commit intomainfrom
copilot/replace-docker-actionlint-with-in-process

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 25, 2026

  • Replace Docker-based actionlint with in-process actionlint.Linter Go API in pkg/cli/actionlint.go
    • Replace getActionlintVersion to use runtime/debug build info instead of Docker
    • Add displayActionlintErrors([]*actionlint.Error) helper for native error display
    • Replace runActionlintOnFiles to use actionlint.NewLinter + LintFiles
  • Remove ActionlintImage constant from pkg/cli/docker_images.go
  • Update CheckAndPrepareDockerImages to not require Docker for actionlint
  • Update docker_images_test.go tests that reference ActionlintImage
  • Add TestDisplayActionlintErrors test in actionlint_test.go
  • Run make agent-finish to validate all changes

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI linked an issue Mar 25, 2026 that may be closed by this pull request
6 tasks
@pelikhan pelikhan closed this Mar 25, 2026
Copilot AI requested a review from pelikhan March 25, 2026 11:54
Copilot stopped work on behalf of pelikhan due to an error March 25, 2026 11:54
@github-actions github-actions bot deleted the copilot/replace-docker-actionlint-with-in-process branch April 2, 2026 13:12
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.

[plan] Replace Docker-based actionlint with in-process actionlint.Linter Go API

2 participants