diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b8724b0c..d73ceed9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,6 +2,25 @@ We'd love to accept your patches and contributions to this project. +> [!IMPORTANT] +> **Discuss your change in an issue before you open a pull request.** As in the +> [main Genkit repository](https://github.com/genkit-ai/genkit/blob/main/CONTRIBUTING.md), +> we automatically close unsolicited pull requests. Before you start work on any +> change, including small fixes: +> +> 1. Find an open issue that covers your change, or +> [create one](https://github.com/genkit-ai/genkit-python/issues/new) in this +> repository. Say that you'd like to work on it. +> 2. Wait for a maintainer to reply in the issue, confirm that you can work on +> it, and agree on the approach. +> 3. Link the issue in your pull request description with a +> [closing keyword](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword), +> for example `Fixes #123`. If the issue and the pull request are in +> different repositories, add the repository name, as in +> `Fixes genkit-ai/genkit#123`. +> +> If we closed your pull request, follow these steps and then open a new one. + ## Before you begin ### Sign our Contributor License Agreement