Skip to main content

Ограничение взаимодействий для личной учетной записи

Вы можете временно применить период ограниченной активности для определенных пользователей во всех общедоступных репозиториях, принадлежащих вашей личной учетной записи.

Кто может использовать эту функцию.

Anyone can limit interactions for their own personal account.

About temporary interaction limits

Limiting interactions for your personal account enables temporary interaction limits for all public repositories owned by your personal account. Enabling an interaction limit for a repository restricts certain users from commenting, opening issues, creating pull requests, reacting with emojis, editing existing comments, and editing titles of issues and pull requests.

When you enable an interaction limit, you can choose a duration for the limit: 24 hours, 3 days, 1 week, 1 month, or 6 months. After the duration of your limit passes, users can resume normal activity in your public repositories.

There are three types of interaction limits.

  • Limit to existing users: Limits activity for users with accounts that are less than 24 hours old who do not have prior contributions and are not collaborators.
  • Limit to prior contributors: Limits activity for users who have not previously contributed to the default branch of the repository and are not collaborators.
  • Limit to repository collaborators: Limits activity for users who do not have write access to the repository.

When you enable user-wide activity limitations, you can't enable or disable interaction limits on individual repositories. For more information on limiting activity for an individual repository, see "Limiting interactions in your repository."

You can also block users. For more information, see "Blocking a user from your personal account."

Limiting interactions for your personal account

  1. In the upper-right corner of any page, click your profile photo, then click Settings.

    Screenshot of a user's account menu on GitHub. The menu item "Settings" is outlined in dark orange.

  2. In the "Access" section of the sidebar, select Moderation then click Interaction limits.

  3. Under "Temporary interaction limits", to the right of the type of interaction limit you want to set, select the Enable dropdown menu, then click the duration you want for your interaction limit.