Skip to content

Latest commit

Β 

History

History
52 lines (35 loc) Β· 1.36 KB

CONTRIBUTING.md

File metadata and controls

52 lines (35 loc) Β· 1.36 KB

Contributing to leasehund

Git Workflow

Protected Main

  • main is protected β€” never push directly to main.
  • All changes must go through a pull request.
  • PRs require CI to pass before merge.

Branch Naming

All branches must follow the pattern:

<type>/<short-description>

Allowed types:

  • feat β€” new features
  • fix β€” bug fixes
  • chore β€” maintenance, dependencies, tooling
  • docs β€” documentation only
  • refactor β€” code restructuring without functional change
  • test β€” adding or updating tests
  • release β€” version bumps and release prep

Examples:

  • feat/run-with-callback
  • fix/lease-expiry
  • chore/bump-smoltcp

Commit Messages

Follow Conventional Commits:

<type>(<scope>): <description>

<body>

Types: feat, fix, chore, docs, refactor, test, ci

CI Requirements

All PRs must pass make ci (formatting, check and lint on every feature set, the tests, and the documentation build) and branch naming validation. See AGENTS.md for the code rules.

Releasing

Releases are generated. Give every pull request a type(scope): description title and merge with squash; release-please keeps a release pull request open with the next version and CHANGELOG.md. Merging it tags vX.Y.Z, which starts the release workflow. See AGENTS.md.