In GitHub, issues and pull requests may automatically link when specific keywords (e.g., "close
", "fixes
") are used in pull request descriptions or comments. This guide explains how to detach an issue from a pull request.
Navigate to the Pull Request - Click on the Pull Requests tab and locate the pull request linked to the issue.
Remove the Linking Keyword - Open the pull request description or comments where the link to the issue is mentioned. - Look for keywords like close #issue_number
, fixes #issue_number
, or resolves #issue_number
. - Remove these keywords or replace them with plain text (e.g., related to #issue_number
).
Update the Pull Request Description - After editing the description or comments, click the Save or Update Comment button to confirm your changes. π
Verify the Detachment - Navigate to the issue that was previously linked. - Confirm that the issue is no longer listed under the Linked pull requests section.
Bounty Tracking: Lightning Bounties tracks issue and PR status via GitHub integration. Unlinking an issue from a PR may affect bounty eligibility or payout triggers if the bounty is configured to require a linked/closed issue.
Workflow: Always coordinate with your team and check Lightning Bounties documentation if you're unsure how unlinking affects bounty status.
Permissions: Lightning Bounties only has read-only access to your repository and cannot modify links on your behalf.
Double-check PR descriptions for linking keywords before submitting.
Communicate with contributors if unlinking may impact bounty rewards.
For merged PRs, note that links are part of the permanent record; only open PRs can be edited to change links.
For more details, refer to GitHubβs official documentation on managing issues and pull requests.