向 GitHub 上的每个人授予提交权限

Give commit access to everyone on GitHub

有没有办法让 GitHub 上的 public 存储库中的每个人都有提交权限?我想用那个 repo 作为 GitHub Wiki 的替代品。

不,对于任何匿名用户,对于您未直接或through an organization.

明确授予权限的任何用户,它都是只读的

但任何人都可以fork your repo and proposes pull requests

如果您愿意为此投入更多的工作和资源,您可以使用 pull requests and the GitHub API 实现自动化。

我没有源代码,但我知道有人这样做的例子:
https://github.com/robashton/crowdsourcedhomepage

引自自述文件:

Stick anything ( ͡° ͜ʖ ͡°) you like in here (make pull requests to the branch "gh-pages").

Every pull request will be automatically merged if possible, and then it'll end up on the home page of http://codeofrob.com


我自己没试过,但是实现这样的东西应该比较简单:
乍一看,您只需要一个使用 GitHub API to check your repo for new pull requests and to auto-merge each one.

的 server/cronjob/whatever