Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.56 KB

CONTRIBUTING.md

File metadata and controls

21 lines (16 loc) · 1.56 KB

Contribution guidelines

These guidelines are meant to provide a foundation for collaboration in Cal-ITP's data services repos, primarily data-infra.

Issues

  • When submitting an issue, please try to use an existing template if one is appropriate
  • Provide enough information and context; try to do one or more of the following:
    • Include links to specific lines of code, error logs, Slack context, etc.
    • Include error messages or tracebacks if relevant and short
    • Connect issues to Sentry issues

Pull Requests

  • We generally use merge commits as we think they provide clarity in a PR-based workflow
  • PRs should be linked to any issues that they close. Keywords are one good way to do this
  • Google provides a How to do a code review reference that reviewers may find helpful
  • Use draft PRs to keep track of work without notifying reviewers, and avoid giving pre-emptive feedback on draft PRs
  • Reviewers should not generally merge PRs themselves and should instead let the author merge, since authors will have the most context about merge considerations (for example, whether additional reviews are still needed, or whether any communication is needed about the impacts of the PR when it merges)
  • After a PR is merged, the author has the responsibility of monitoring any subsequent CI actions for successful completions