Skip to content

Commit 4cb0246

Browse files
authored
Document blocking users from issue and pull request comments (#62690)
Copilot-Session: 32b09b90-7c4b-402b-9899-e067faa919e6
1 parent d317380 commit 4cb0246

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

‎content/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ category:
1414

1515
## About blocking users
1616

17-
You can block a user in your account settings or from the user's profile. {% data variables.product.prodname_dotcom %} will not notify the user when you block them. If you want to avoid contributing to the same project as someone you've blocked, you can choose to display a warning on any repositories with prior contributions from a blocked user. For more information, see [Blocking a user in your account settings](#blocking-a-user-in-your-account-settings). You may still see the activity of blocked users in shared spaces and blocked users can delete their existing content.
17+
You can block a user in your account settings, from the user's profile, or from an issue or pull request in a repository you own. {% data variables.product.prodname_dotcom %} will not notify the user when you block them. If you want to avoid contributing to the same project as someone you've blocked, you can choose to display a warning on any repositories with prior contributions from a blocked user. For more information, see [Blocking a user in your account settings](#blocking-a-user-in-your-account-settings). You may still see the activity of blocked users in shared spaces and blocked users can delete their existing content.
1818

1919
> [!TIP]
2020
> If you're blocking a user because of a heated conversation, consider locking the conversation so only collaborators can comment. For more information, see [AUTOTITLE](/communities/moderating-comments-and-conversations/locking-conversations).
@@ -53,6 +53,13 @@ In repositories you own, blocked users also cannot:
5353
* Comment on issues, pull requests, or commits
5454
* Add or edit wiki pages
5555

56+
## Blocking a user in an issue or pull request
57+
58+
1. Navigate to an issue or pull request in a repository you own.
59+
1. In the upper-right corner of the description or comment whose author you would like to block, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **Block user**.
60+
1. Optionally, add a note to describe why you blocked the user. The note will only be visible to you.
61+
1. To confirm, click **Block user**.
62+
5663
## Blocking a user in your account settings
5764

5865
{% data reusables.user-settings.access_settings %}

‎content/communities/maintaining-your-safety-on-github/unblocking-a-user-from-your-personal-account.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ When you unblock a user, they'll be able to invite you to be a collaborator to t
1616

1717
In repositories you own, the user will be able to collaborate normally.
1818

19-
You can unblock a user in your account settings or from the user's profile page.
19+
You can unblock a user in your account settings, from the user's profile page, or from an issue or pull request in a repository you own.
20+
21+
## Unblocking a user in an issue or pull request
22+
23+
1. Navigate to an issue or pull request in a repository you own.
24+
1. In the upper-right corner of the description or comment whose author you would like to unblock, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **Unblock user**.
2025

2126
## Unblocking a user in your account settings
2227

0 commit comments

Comments
 (0)