Fix pi-review.sh commit message to pass gitlint

t-288·WorkTask·
·
·
·Omni/Ide.hs
Created4 months ago·Updated4 months ago·pipeline runs →

Dependencies

Description

Edit

gitlint rejected the commit because the Task-Id trailer was treated as a too-short body line.

Problem

Current format:

Namespace: Title

Task-Id: t-123

gitlint sees 'Task-Id: t-123' as a body line and complains it's <20 chars.

Solution

Add a proper body message:

Namespace: Title

Automated commit via pi-review.

Task-Id: t-123

Or construct body from task description (first line/sentence).

Implementation

Update the git commit command to include a body:

git commit -m "$COMMIT_PREFIX: $TITLE" -m "Automated via pi-review." --trailer "Task-Id: $TASK_ID"

Git Commits

57617eeeOmni/Ide.hs: Fix pi-review.sh commit message to pass gitlint
Ben Sima4 months ago1 files

Timeline (2)

🔄[human]Open → InProgress4 months ago
🔄[human]InProgress → Done4 months ago