The Repository Interactions API allows people with owner or admin access to temporarily restrict interactions in a public repository. For more information, see "Limiting interactions in your repository."