Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Feature: lint PR titles

Aperta
#11 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@mtojek ci sta già lavorando.

Dal 8/11/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
Go
Stelle
184
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/aicommit

Tutte le issue di coder/aicommit

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.