From 00dd02be3626abe348df4fd40eb63be96a0fc24a Mon Sep 17 00:00:00 2001 From: "continue[bot]" <230936708+continue[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 20:38:21 -0700 Subject: [PATCH] docs: add note about using keywords for linking PRs to issues (#8316) Added a new section in the Contributing guide explaining how to use GitHub keywords (closes, fixes, resolves) to automatically link PRs to issues. This helps contributors properly reference issues in their PRs. Closes #7794 Generated with [Continue](https://continue.dev) Co-authored-by: Continue Agent Co-authored-by: Continue Co-authored-by: Username --- docs/CONTRIBUTING.mdx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/CONTRIBUTING.mdx b/docs/CONTRIBUTING.mdx index 193ca8795..6a01562e2 100644 --- a/docs/CONTRIBUTING.mdx +++ b/docs/CONTRIBUTING.mdx @@ -298,6 +298,35 @@ const example = "Hello, Continue!"; +### Linking Your PR to Issues + + + +**Important**: When your PR addresses a specific issue, make sure to link it using GitHub keywords. + + + +To automatically link your PR to an issue and close it when the PR is merged, use one of these keywords in your PR description: + +- `closes #issue_number` +- `fixes #issue_number` +- `resolves #issue_number` + +**Example PR description:** +```markdown +Improved the installation guide with clearer steps for Windows users. + +Closes #1234 +``` + +This helps us track which issues are being worked on and automatically closes them when your PR is merged. + + + +Learn more about linking PRs to issues in the [GitHub documentation](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests). + + + ## 💡 Tips for Success - **Use the Continue agent**: It knows our documentation standards and will save you time