Only repository collaborators can edit a public repository's wiki by default, but you can give anyone with a GitHub account edit permissions.

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

  2. Under your repository name, click Settings. Repository settings button

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

Further reading