Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature: lint PR titles

Open
#11 4 comments 0 reactions 1 assignee View on GitHub

@mtojek is already working on this.

Since Nov 8, 2024.

  • #12 by @mtojek — open

Assessment

This issue has not been assessed yet.

Description

enhancement
Problem Statement

Sometimes community users forget about adjusting the PR title (and merge commit) to the style guide of the Git repository. aicommit already uses the GPT model to adjust wording of particular commits, but not the PR title.

Proposal

Let's introduce aicommit lint command which can validate the proposed PR title. The command can be executed as Github Action and fail CI job if the PR does not meet style guide requirements.

Proposed Workflow

Command: aicommit lint --pr-title "fix: set dogfood go version to match go.mod"

  1. Load the style guide rules.
  2. Prepare the prompt: Ask to lint the PR title according to the style guide. Expected result: OK or suggestion.
  3. Exit status 0 or output the suggestion.
Dominant language
Go
Stars
184
Forks
9
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/aicommit

All issues in coder/aicommit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.