Here is how to limit interactions to repository collaborators in a github repository
- First, open the repository where you want to limit interactions to repository collaborators
- Next click on the "Settings" tab in the top navigation menu
- In the left settings sidebar, click on "Moderation options"
- Then click on "Interaction limits" option in the expanded Moderation options menu
- Next locate the "Limit to repository collaborators" option
- Then click on the "Enable" dropdown button next to it
- Finally select the duration you want for your interaction limit from the dropdown menu




