From f4262678f4ab00de871a36ffa426c8f5239073ff Mon Sep 17 00:00:00 2001 From: Samuel Bushi Date: Wed, 2 Dec 2026 10:02:08 -0500 Subject: [PATCH] docs: CONTRIBUTING.md explains the issue-first pull request policy Why: Unsolicited pull requests are closed automatically, and CONTRIBUTING.md didn't say so or explain how to get a change accepted. What: Add an Important notice at the top of CONTRIBUTING.md that asks contributors to discuss a change in an open issue first, wait for a maintainer to confirm, and link the issue with a closing keyword. It links this repo's issue tracker and the main Genkit contributing guide. --- CONTRIBUTING.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b8724b0cc..d73ceed91 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