Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.93 KB

CONTRIBUTING.md

File metadata and controls

49 lines (37 loc) · 1.93 KB

Contributing to modelith

Thanks for your interest in contributing! modelith is released under the Apache 2.0 license. See the README and docs/ for what the tool does, and CLAUDE.md for repository layout and conventions you should know before making structural changes (the example fixture, schema/struct sync, and docs numbering rules all have CI checks behind them).

Code of conduct

This project adheres to the Contributor Covenant. By participating, you're expected to uphold it. Report unacceptable behavior to code-of-conduct@stacklok.com.

Reporting security vulnerabilities

Please don't report security vulnerabilities using GitHub issues. Instead, follow the process in SECURITY.md.

How to contribute

Use GitHub Issues for bugs and feature requests. For small, obvious fixes, feel free to just open a pull request directly.

Pull request process

  • All commits must include a Signed-off-by trailer certifying the Developer Certificate of Origin. Use git commit -s.
  • Fork the repo, branch, and make your changes.
  • Run task check before pushing — it runs the same checks as CI (vet, staticcheck, tests, model lint, render-check) plus local plugin validation. See docs/09-local-development.md.
  • Follow the commit message guidelines below.
  • Open a PR; ensure CI passes.
  • PRs are squash-merged.

Commit message guidelines

We follow the conventions from Chris Beams' "How to Write a Git Commit Message":

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line
  6. Use the body to explain what and why, not how