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. highlighted usernameIn the top right corner of any page, click your username.

  2. Repository tabOn your profile page, click the Repositories tab, then click the name of your repository.

  3. Settings tabIn your repository's right sidebar, click Settings.
  4. Wiki restrict editingUnder Features, unselect Restrict edits to collaborators only.

Further reading