Skip to content

[Feature]: Implement automated Go linting and semantic PR validation with GitHub Actions #350

Description

@amitamrutiya

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

None

Problem Description

  • Manual verification of code style and adherence to semantic commit messages can be time-consuming and error-prone.
  • Inconsistent style and non-semantic commit messages impact project maintainability and readability.

Solution Description

  • Introduce a GitHub Action workflow to automatically:

    • Run golangci-lint on pull requests to enforce code style and detect potential issues.
    • Validate PR titles and bodies against the conventional commit message format using amean/action-semantic-pull-request.

Benefits

  • Enhanced code quality and consistency.
  • Improved code maintainability and readability.
  • Reduced manual effort in code reviews.
  • Early detection and prevention of potential issues.
  • Consistent application of style guidelines.

Potential Drawbacks

N/A

Additional Information

If this feature you want, I'm happy to continue working on its implementation. Please share any further details or preferences.

Activity

  1. AlexsJones commented on Aug 13, 2026

    @AlexsJones
    Member

    Closing as stale. This has had no traction in 6+ months and is not on the current roadmap. Please open a new issue if you still want this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions