Skip to content

Commit

Permalink
Merge pull request github#34100 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jul 26, 2024
2 parents cef6858 + a4c8822 commit 0890325
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@ In your organization's repositories, blocked users also cannot:
1. Click **Block user**.
1. Optionally, to add a note to describe why a user was blocked, click **Add Note**. The note will be visible to the owners and moderators of the organization.

## Blocking a user on a discussion

1. Navigate to the discussion whose author you would like to block.
1. In the upper-right corner of the comment, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **Block user**.

![Screenshot of a pull request comment by octo-user. Below an icon of three horizontal dots, a dropdown menu is expanded, and "Block user" is outlined in orange.](/assets/images/help/repository/comment-menu-block-user.png)

1. If you'd like to set a time limit for the block, select the **Block user** dropdown menu, and click the amount of time you'd like to block the user.
1. If you'd like to hide all of the comments the user has made in the organization, select **Hide this user's comments** and choose a reason.
1. If you'd like to delete just the discussion you're viewing, select **Delete this discussion**.
1. If you'd like to delete all of the discussions the user has made in the organization, select **Delete all of USER's discussions in ORGANIZATION**.
1. Click **Block user from organization**.

## Further reading

* "[AUTOTITLE](/communities/maintaining-your-safety-on-github/viewing-users-who-are-blocked-from-your-organization)"
Expand Down
5 changes: 0 additions & 5 deletions src/audit-logs/data/fpt/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code.search",
"description": "A code search was run targeting an organization. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"docs_reference_links": "/search-github/github-code-search"
},
{
"action": "codespaces.allow_permissions",
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",
Expand Down
5 changes: 0 additions & 5 deletions src/audit-logs/data/ghec/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code.search",
"description": "A code search was run targeting an organization. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"docs_reference_links": "/search-github/github-code-search"
},
{
"action": "codespaces.allow_permissions",
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",
Expand Down
2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"apiRequestEvent": "This event is only available via audit log streaming."
},
"sha": "e963c4e55388351f75020df4baa4a15f21fb044b"
"sha": "fc5c52049e23b6e009bdb4273dd71bb750ddd02d"
}

0 comments on commit 0890325

Please sign in to comment.