While anyone with a GitHub Enterprise account can edit a public repository's wiki by default, you can restrict edit permissions to only repository collaborators.

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. In the repository's right sidebar, click Settings. Repository settings button

  3. Under Features, select Restrict edits to collaborators only. Wiki restrict editing

Further reading