Skip to content

chore(repo): require signed-off commits - #36

Merged
abhiyandhakal merged 1 commit into
mainfrom
chore/require-signoff
Sep 27, 2026
Merged

abhiyandhakal merged 1 commit into
mainfrom
chore/require-signoff

Conversation

@abhiyandhakal

Copy link
Copy Markdown
Collaborator

What this changes

The Husky commit-msg hook now requires every commit message to include a valid Signed-off-by: Name <email> trailer. The existing Commitlint check still runs after the sign-off check.

Use git commit -s to have Git add the trailer automatically.

How to check it

  • A signed-off commit was created successfully on this branch, and the commit hooks completed.
  • To confirm the rejection path, try a commit without -s in a disposable checkout; the hook should reject it with a git commit -s hint.
  • No test suite was run for this hook-only change.

Checklist

  • Conventional commit title
  • Commit is signed off
  • No new dependency

Signed-off-by: Abhiyan Dhakal <itsabhiyandhakal@gmail.com>
@abhiyandhakal
abhiyandhakal marked this pull request as ready for review September 27, 2026 16:02
@abhiyandhakal
abhiyandhakal merged commit fd36c67 into main Sep 27, 2026
1 check passed
@abhiyandhakal
abhiyandhakal deleted the chore/require-signoff branch September 27, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants