Feature: lint PR titles
@mtojek ci sta già lavorando.
Dal 8/11/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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"
- Load the style guide rules.
- Prepare the prompt: Ask to lint the PR title according to the style guide. Expected result: OK or suggestion.
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di coder/aicommit
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di coder/aicommit
Issue simili
-
bug github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
registrystack/registry-stack#1393 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
JakeChampion/lang#10213 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oasisprotocol/oasis-sdk#2523 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100