Skip to main content

GitHub 社区行为准则

概述和宗旨

Millions of developers across the world host millions of projects—both open and closed source—on GitHub. We're fortunate to be able to play a part in enabling collaboration across the developer community every day, which is a responsibility we don’t take lightly. Together, we all have the exciting opportunity to make this a community we can be proud of.

GitHub Community, powered by GitHub Discussions, is intended to be a place for further collaboration, support, and brainstorming. This is a civilized place for connecting with other users, learning new skills, sharing feedback and ideas, and finding all the support you need for your GitHub projects. By participating in GitHub Community, you are agreeing to the same Terms of Service and GitHub Acceptable Use Policies that apply to GitHub.com, as well as this GitHub Community-specific Code of Conduct.

With this Code of Conduct, we hope to help you understand how best to collaborate in GitHub Community, what you can expect from moderators, and what type of actions or content may result in temporary or permanent suspension from community participation. We will investigate any abuse reports and may moderate public content within GitHub Community that we determine to be in violation of either the GitHub Terms of Service or this Code of Conduct.

全球数以百万计的开发人员在 GitHub 上托管了数百万个项目,包括开源和闭源项目。

承诺

为了营造一个开放和包容的环境,我们作为参与者和维护者在此承诺,GitHub 社区不歧视任何参与者,不论他们的年龄、身材、能力、种族、性别认同和表达、经验水平、国籍、外貌、民族、宗教或性认同和性取向如何。

标准

我们很幸运能够每天促进开发人员社区的协作,这是我们很重视的责任。

我们很高兴有机会一起让这个社区成为我们值得骄傲的地方。

维持强大社区的最佳做法

The primary purpose of the GitHub community is to collaborate on software projects. We are committed to maintaining a community where users are free to express themselves and challenge one another's ideas, both technical and otherwise. At the same time, it's important that users remain respectful and allow space for others to contribute openly. In order to foster both a safe and productive environment, we encourage our community members to look to these guidelines to inform how they interact on our platform. Below, you’ll find some suggestions for how to have successful interactions as a valued member of the GitHub community.

  • 以体贴和尊重的方式参与。

    • GitHub 社区由 GitHub Discussions 提供支持,旨在成为推动协作、支持和集思广益的地方。

    • 这是一个文明荟萃之地,在这里,您可以与其他用户联系、学习新技能、分享反馈和想法、寻找您的 GitHub 项目所需的所有支持。

    • 参与 GitHub 社区,即表示您同意遵守适用于 GitHub.com 的服务条款以及 GitHub 可接受使用政策以及本 GitHub 社区特定的行为准则。

  • 以积极和建设性的方式参与。

    • Improve the discussion. Help us make this a great place for discussion by always working to improve the discussion in some way, however small. If you are not sure your post adds to the conversation, think over what you want to say and try again later.

      我们希望通过本行为准则,帮助您了解如何在 GitHub 社区中完美协作、版主的职能以及哪些类型的行为或内容可能导致暂停或永久性终止社区参与。

    • 我们将调查任何滥用举报,并且可能会审核 GitHub 社区内我们确定违反了 GitHub 服务条款或本行为准则的公共内容。

      This applies to sharing links, as well. Any links shared in GitHub Community discussions should be shared with the intent of providing relevant and appropriate information. Links should not be posted to simply drive traffic or attention to a site. Links should always be accompanied by a full explanation of the content and purpose of the link. Posting links, especially unsolicited ones, without relevant and valuable context can come across as advertising or serving even more malicious purposes.

    • 我们多样化的用户群带来了不同的观点、想法和经验,从上周刚创建第一个“Hello World”项目的初学者到世界上最知名的软件开发人员,涵盖各种各样的人群。

      我们致力于将 GitHub 营造成一个兼容并蓄的环境,让我们社区的参与者可以带来不同的声音和观点,同时维护一个让开发人员可以出色完成工作的安全环境。

    • Keep it tidy. Make the effort to put things in the right place, so that we can spend more time discussing and less time cleaning up. So:

      • 不要在错误的类别中开始讨论。
      • 不要在多个讨论中交叉发布同样的内容。
      • 不要发布无意义回复。
      • 除非您有新的相关信息要分享,否则不要贸然发帖。
      • 不要中途转换讨论。

      Rather than posting “+1” or “Agreed”, use the upvote button. Rather than taking an existing discussion in a radically different direction, open a new discussion.

  • 让自己值得信赖。

    • Always be honest. Don’t knowingly share incorrect information or intentionally mislead other GitHub Community participants. If you don’t know the answer to someone’s question but still want to help, you can try helping them research or find resources instead. GitHub staff will also be active in GitHub Community, so if you’re unsure of an answer, it’s likely a moderator will be able to help.

不允许的情形

GitHub's Acceptable Use Policies, which are part of GitHub's Terms of Service, set a baseline for what is not allowed on GitHub. Since GitHub Community is on GitHub.com, these terms and restrictions apply to GitHub Community, including the following restrictions:

  • 尊重 GitHub 社区。

  • 论坛是一种共享资源,人们在这里通过不断对话来分享技能、知识和兴趣的地方。

  • Other conduct which could reasonably be considered inappropriate in a professional setting. GitHub Community is a professional space and should be treated as such.

  • 以下规则并非硬性规定,仅用于帮助我们社区的人为判断。

执行

GitHub 社区参与者可以做什么

  • 我们使用这些准则为文明的公众讨论提供一个干净光明的环境。

    When you see bad behavior, don’t reply. It encourages the bad behavior by acknowledging it, consumes your energy, and wastes everyone’s time. You can report a disruptive user or disruptive content to GitHub. For more information, see "Reporting abuse or spam."

我们的职责

There are a variety of actions that we may take in response to inappropriate behavior or content. It usually depends on the exact circumstances of a particular case. We recognize that sometimes people may say or do inappropriate things for any number of reasons. Perhaps they did not realize how their words would be perceived. Or maybe they just let their emotions get the best of them. Of course, sometimes, there are folks who just want to spam or cause trouble.

GitHub 社区的主要目的是协作处理软件项目。

为响应标记或滥用举报,我们可能采取的措施包括但不限于:

  • 删除内容
  • 屏蔽内容
  • GitHub 帐户暂停
  • GitHub 帐户终止

GitHub 社区版主如果不真诚地遵守或执行行为准则,可能面临 GitHub 社区其他领导成员决定的临时或永久性处罚。

联系 GitHub 工作人员

我们致力于维持一个用户能够自由表达意见并对彼此想法(包括技术和其他方面)提出挑战的社区。

让我们共同努力,互相尊重并珍惜每个人的时间,使 GitHub 社区成为一个人们可以安心参与的环境。

法律声明

同时,重要的是用户要保持尊重,并为其他人留出公开贡献的空间。

为了营造一个安全和富有成效的环境,我们鼓励社区成员参考这些准则,以了解如何在我们的平台上进行互动。

数据保留和数据删除

作为 GitHub 社区的重要成员,您可以在下面找到一些有关如何成功互动的建议。