From ac26434a1b9c292be83d978a69be129128989ec5 Mon Sep 17 00:00:00 2001 From: TheeNativeHub <297344811+TheeNativeHub@users.noreply.github.com> Date: Tue, 18 Aug 2026 05:46:20 +0200 Subject: [PATCH 1/4] docs(site-policy): improve and restructure GitHub Community Guidelines --- .../github-community-guidelines.md | 127 +++++++++--------- 1 file changed, 66 insertions(+), 61 deletions(-) diff --git a/content/site-policy/github-terms/github-community-guidelines.md b/content/site-policy/github-terms/github-community-guidelines.md index 0eeccbbdb19f..ec58a31a4eca 100644 --- a/content/site-policy/github-terms/github-community-guidelines.md +++ b/content/site-policy/github-terms/github-community-guidelines.md @@ -1,5 +1,6 @@ --- title: GitHub Community Guidelines +description: Best practices and expectations for participating in the GitHub community — for contributors, maintainers, and organizations. redirect_from: - /community-guidelines - /articles/github-community-guidelines @@ -9,66 +10,70 @@ versions: fpt: '*' category: - Review product and program terms +last_updated: 2026-08-18 --- -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. - -Our diverse user base brings different perspectives, ideas, and experiences, and ranges from people who created their first "Hello World" project last week to the most well-known software developers in the world. We are committed to making GitHub an environment that welcomes all the different voices and perspectives our community has to offer, while maintaining a safe place for developers to do their best work. - -By outlining what we think a [safe, welcoming, and productive community](https://opensource.guide/building-community/) looks like at GitHub, we hope to help you understand how best to interact and collaborate on our platform in line with our [Terms of Service](/site-policy/github-terms/github-terms-of-service) and [Acceptable Use Policies](/site-policy/acceptable-use-policies/github-acceptable-use-policies). - -We encourage our community members to communicate expectations clearly, [moderate](#what-if-something-or-someone-offends-you) their projects where possible, and [report](https://github.com/contact/report-abuse) any content that may violate our [policies](/site-policy/github-terms/github-terms-of-service). GitHub Staff will investigate any reports of abuse, and may moderate public content on our site that we determine to be in violation of our Terms of Service. - -## Maintaining a strong community - -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. - -* **Be welcoming and open-minded** - New users join our community each day. Some are well-established developers, while others are just beginning. Be open to other ideas and experience levels. Make room for opinions other than your own and be welcoming to new collaborators and those just getting started. - -* **Be respectful** - Working in a collaborative environment means disagreements may happen. But remember to criticize ideas, not people. Share thoughtful, constructive criticism and be courteous to those you interact with. If you’re unable to engage respectfully, consider taking a step back or using some of our moderation tools to deescalate a tense situation. - -* **Be empathetic** - GitHub is a global community with people from a wide variety of backgrounds and perspectives, many of which may not be your own. Try to put yourself in others’ shoes and understand their feelings before you address them. Do your best to help make GitHub a community where others feel safe to make contributions, participate in discussions, and share different ideas. - -## What if something or someone offends you? - -While some disagreements can be resolved with direct, respectful communication between community members, we understand that is not always the case. We encourage our community to contact GitHub Support through the [GitHub Support portal](https://support.github.com/) when they believe content or activity they’ve encountered violates our policies. However, if you run into something or someone on the site that you find objectionable, here are some ways GitHub enables you to take action: - -* **Communicate expectations** - Maintainers can set community-specific guidelines to help users understand how to interact with their projects, for example, in a repository’s README, [CONTRIBUTING file](/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors), or [dedicated code of conduct](/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project). You can find additional information on building communities on the [Communities](/communities) page. - -* **Moderate Comments** - Users with [write-access privileges](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization) for a repository can [edit, delete, or hide anyone's comments](/communities/moderating-comments-and-conversations/managing-disruptive-comments) on commits, pull requests, and issues. Anyone with read access to a repository can view a comment's edit history. Comment authors and people with write access to a repository can also delete sensitive information from a [comment's edit history](/communities/moderating-comments-and-conversations/tracking-changes-in-a-comment). Moderating your projects can feel like a big task if there is a lot of activity, but you can [add collaborators](/repositories/managing-your-repositorys-settings-and-features/repository-access-and-collaboration/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account) to assist you in managing your community. - -* **Lock Conversations**  - If a discussion in an issue, pull request, or commit gets out of hand, off topic, or violates your project’s code of conduct or GitHub’s policies, owners, collaborators, and anyone else with write access can put a temporary or permanent lock on the conversation. For more information, see [AUTOTITLE](/communities/moderating-comments-and-conversations/locking-conversations). - -* **Block Users**  - If you encounter a specific user who you would rather not engage with, you can [block the user from your personal account](/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account) or [from your organization](/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization). - -* **Limit Interactions** - If your public project is getting unwanted attention, being trolled, spammed, or otherwise, you have the option of setting [temporary interaction limits](/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository) to keep certain users from interacting with your repository. You can even set [code review limits](https://github.blog/2021-11-01-github-keeps-getting-better-for-open-source-maintainers/#preventing-drive-by-pull-request-approvals-and-requested-changes) to ensure quality contributions on your projects. - -While we are passionate about empowering maintainers to moderate their own projects, please contact {% data variables.contact.contact_support %} if you need additional support in dealing with a situation. - -## What happens if someone violates GitHub's policies? - -We rely on reports from the community, as well as proactive detection, to help ensure that GitHub is a safe, welcoming, and productive platform for software developers. There are a variety of factors we consider when we’re made aware of behavior or content not in line with GitHub’s policies. However, our policy enforcement and content moderation approach prioritizes our vision to be the home for all developers. This means: - -* We optimize for code collaboration. We recognize that code can have multiple uses and we distinguish between how the code is being used on the platform and other possible uses. We also think about how our enforcement actions can affect a potentially complicated web of interdependencies across the platform and aim to restrict as little legitimate content as possible. - -* We take a human-centered approach to content moderation and we tailor our responses to meet the needs of a specific situation. Our global team investigates the reports we receive on a case-by-case basis—considering context and the surrounding facts—before taking action. This could include taking into account potentially offensive content being posted in a way that lacks context or makes it easy for other users to unwittingly view or interact with while using GitHub. In those instances, we may favor moderation in order to safeguard our community. - -* Our decisions are rooted in our core belief that serving an interconnected community and empowering human progress through developer collaboration requires a commitment to diversity, inclusion, and belonging. - -Where we have decided that moderation action is warranted, these are some of the ways we may respond: - -* Removing the offending content -* Blocking or disabling the offending content -* Downgrading the visibility of the offending content -* Hiding a user account or organization from public view -* Suspending a user account or organization - -## Appeal and Reinstatement - -If your content or account has been disabled or restricted and you seek reinstatement or wish to appeal, please see our [Appeal and Reinstatement page](/site-policy/acceptable-use-policies/github-appeal-and-reinstatement) for information about the process and use our [Appeal and Reinstatement form](https://support.github.com/contact/reinstatement) to submit a request. - -## Legal Notices - -We dedicate these Community Guidelines to the public domain for anyone to use, reuse, adapt, or whatever, under the terms of [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/). - -These are only guidelines; they do not modify our [Terms of Service](/site-policy/github-terms/github-terms-of-service) and are not intended to be a complete list. Under those terms, GitHub retains full discretion to remove any content or terminate any accounts for activity that violates our [Acceptable Use Policies](/site-policy/acceptable-use-policies/github-acceptable-use-policies). These guidelines describe when we will exercise that discretion. +Millions of developers around the world host projects on GitHub. These guidelines describe what a safe, welcoming, and productive GitHub community looks like and how we expect people to interact on the platform. + +Who this applies to +- Contributors, maintainers, and organizations using GitHub. +- Public and private repositories hosted on GitHub.com. +- Community spaces like issues, pull requests, discussions, and profile pages. + +Core principles +- Be welcoming and open-minded — welcome newcomers and value diverse perspectives. +- Be respectful — critique ideas, not people; avoid abusive or demeaning language. +- Be empathetic — recognize that people come from different backgrounds and experiences. +- Be constructive — give actionable feedback and write clearly and kindly. + +Concrete examples (do / don't) +- Do: Ask clarifying questions in a code review and provide suggested fixes or references. +- Don't: Post personal attacks, insults, or slurs directed at a person or group. +- Do: Create a CONTRIBUTING or CODE_OF_CONDUCT file to set expectations for your repo and link to it from the README. +- Don't: Share private information (doxxing) or threats of violence. +- Do: Use issue templates to request additional information from reporters and to triage bug reports and security concerns. +- Don't: Repeatedly harass or target a user across multiple issues, PRs, or accounts. +- Do: Use respectful, technical language when explaining why a change is needed; include examples and steps to reproduce when reporting bugs. +- Don't: Use sustained trolling behavior, coordinated harassment, or attempts to silence legitimate contributors. + +More real-world scenarios +- Hate speech & slurs: Any direct use of slurs, epithets, or language intended to degrade a protected class is not acceptable. Remove or report content that includes these terms used to harass. +- Doxxing: Posting private or intimate information about someone (home address, phone numbers, non-public social profiles, government ID details) to intimidate or shame is strictly prohibited. +- Threats & violence: Threats of physical harm, sexual violence, or incitement to violence are disallowed and should be reported immediately. +- Impersonation & fraud: Creating accounts that impersonate another user, organization, or project to mislead or defraud is not acceptable. +- Spam & malicious links: Repeated, irrelevant, or promotional posts and posts that include malware or phishing links should be removed and reported. +- Targeted harassment campaigns: Coordinated attempts to flood or harass an individual across multiple repos or accounts are prohibited. +- Abuse of project tools: Using issues, PRs, or comments to continually harass maintainers (for example, by reopening closed discussions, creating duplicate abusive issues) is unacceptable. + +Maintainers: tools and best practices +- Communicate expectations — add CONTRIBUTING and CODE_OF_CONDUCT files and link to them from your README. +- Moderate comments — users with write access can edit, hide, or remove comments that violate repository rules. +- Lock conversations — when threads get off-topic, hostile, or repetitive, lock them to stop further comments. +- Block users — block specific users from interacting with your personal account if needed. +- Limit interactions — use temporary interaction limits for repos experiencing spam, harassment, or targeted abuse. +- Use templates — issue and PR templates help gather structured reports and make moderation faster. +- Create moderation workflows — document how maintainers triage reports, escalate sensitive cases, and communicate actions back to the community. + +How to report content or behavior +- Use the built-in reporting tools on the offending content (issue, comment, or profile). +- If you need additional support, contact GitHub Support: {% raw %}{% data variables.contact.contact_support %}{% endraw %} (or replace with https://support.github.com/contact if you prefer an explicit URL). +- When reporting, include helpful context: direct links to the content, a brief description of why it violates guidelines, and any relevant timestamps or thread links. +- For legal emergencies or imminent threats to safety, contact local law enforcement in addition to reporting on GitHub. + +Enforcement and transparency +- We rely on community reports and automated detection; each report is reviewed case-by-case by our moderation team. +- Possible outcomes include removing offending content, limiting visibility, hiding user accounts or organizations from public view, or suspending accounts. +- We apply a human-centered, proportional approach when responding to reports and aim to provide options for remediation when appropriate. +- Users may not always receive public details about moderation decisions due to privacy and safety considerations, but we strive for consistent, fair enforcement. + +Appeals and reinstatement +If your content or account is disabled or restricted and you wish to appeal, see the Appeal and Reinstatement page: /site-policy/acceptable-use-policies/github-appeal-and-reinstatement (please verify that the page slug and URL are correct in the site build). + +Legal notices and license +- These Community Guidelines are intended as guidance and do not replace GitHub's Terms of Service. +- The text of these guidelines is dedicated to the public domain under [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/). + +Notes for maintainers of this page +- Verify internal variables and shortlinks render correctly in the site build (for example, {% raw %}{% data variables.contact.contact_support %}{% endraw %}). +- Consider adding localized translations where appropriate. +- If you prefer an explicit support URL instead of the site variable, replace the contact variable with the canonical support link. From 4d65b31df2d9064424a9dceb80f878bd2b124f7c Mon Sep 17 00:00:00 2001 From: TheeNativeHub <297344811+TheeNativeHub@users.noreply.github.com> Date: Tue, 18 Aug 2026 06:20:26 +0200 Subject: [PATCH 2/4] docs(site-policy): headings, links, and add Contributor Covenant CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 80 +++++++++++++++++++ .../github-community-guidelines.md | 30 ++++--- 2 files changed, 97 insertions(+), 13 deletions(-) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000000000000..cf1d5cca6d65 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,80 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience +* Focusing on what is best not just for us as individuals, but for the overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email address, without their explicit permission +* Contacting individual members, contributors, or leaders privately, outside designated community mechanisms, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at opensource@github.com. All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series of actions. + +**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at . + +Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at . Translations are available at . diff --git a/content/site-policy/github-terms/github-community-guidelines.md b/content/site-policy/github-terms/github-community-guidelines.md index ec58a31a4eca..8f148d0664a7 100644 --- a/content/site-policy/github-terms/github-community-guidelines.md +++ b/content/site-policy/github-terms/github-community-guidelines.md @@ -15,28 +15,31 @@ last_updated: 2026-08-18 Millions of developers around the world host projects on GitHub. These guidelines describe what a safe, welcoming, and productive GitHub community looks like and how we expect people to interact on the platform. -Who this applies to +Scope +- These guidelines are guidance for contributors, maintainers, and organizations using GitHub.com. They do not replace GitHub's Terms of Service. + +## Who this applies to - Contributors, maintainers, and organizations using GitHub. - Public and private repositories hosted on GitHub.com. - Community spaces like issues, pull requests, discussions, and profile pages. -Core principles +## Core principles - Be welcoming and open-minded — welcome newcomers and value diverse perspectives. - Be respectful — critique ideas, not people; avoid abusive or demeaning language. - Be empathetic — recognize that people come from different backgrounds and experiences. - Be constructive — give actionable feedback and write clearly and kindly. -Concrete examples (do / don't) +## Concrete examples (do / don't) - Do: Ask clarifying questions in a code review and provide suggested fixes or references. - Don't: Post personal attacks, insults, or slurs directed at a person or group. -- Do: Create a CONTRIBUTING or CODE_OF_CONDUCT file to set expectations for your repo and link to it from the README. +- Do: Create a CONTRIBUTING or CODE_OF_CONDUCT file (for example, `/CODE_OF_CONDUCT.md`) to set expectations for your repo and link to it from the README. - Don't: Share private information (doxxing) or threats of violence. - Do: Use issue templates to request additional information from reporters and to triage bug reports and security concerns. - Don't: Repeatedly harass or target a user across multiple issues, PRs, or accounts. - Do: Use respectful, technical language when explaining why a change is needed; include examples and steps to reproduce when reporting bugs. - Don't: Use sustained trolling behavior, coordinated harassment, or attempts to silence legitimate contributors. -More real-world scenarios +## More real-world scenarios - Hate speech & slurs: Any direct use of slurs, epithets, or language intended to degrade a protected class is not acceptable. Remove or report content that includes these terms used to harass. - Doxxing: Posting private or intimate information about someone (home address, phone numbers, non-public social profiles, government ID details) to intimidate or shame is strictly prohibited. - Threats & violence: Threats of physical harm, sexual violence, or incitement to violence are disallowed and should be reported immediately. @@ -45,35 +48,36 @@ More real-world scenarios - Targeted harassment campaigns: Coordinated attempts to flood or harass an individual across multiple repos or accounts are prohibited. - Abuse of project tools: Using issues, PRs, or comments to continually harass maintainers (for example, by reopening closed discussions, creating duplicate abusive issues) is unacceptable. -Maintainers: tools and best practices -- Communicate expectations — add CONTRIBUTING and CODE_OF_CONDUCT files and link to them from your README. +## Maintainers: tools and best practices +- Communicate expectations — add `CONTRIBUTING` and `CODE_OF_CONDUCT` files and link to them from your README. - Moderate comments — users with write access can edit, hide, or remove comments that violate repository rules. - Lock conversations — when threads get off-topic, hostile, or repetitive, lock them to stop further comments. - Block users — block specific users from interacting with your personal account if needed. - Limit interactions — use temporary interaction limits for repos experiencing spam, harassment, or targeted abuse. - Use templates — issue and PR templates help gather structured reports and make moderation faster. - Create moderation workflows — document how maintainers triage reports, escalate sensitive cases, and communicate actions back to the community. +- Security: publish a `SECURITY.md` and clearly document how to report security vulnerabilities. -How to report content or behavior +## How to report content or behavior - Use the built-in reporting tools on the offending content (issue, comment, or profile). - If you need additional support, contact GitHub Support: {% raw %}{% data variables.contact.contact_support %}{% endraw %} (or replace with https://support.github.com/contact if you prefer an explicit URL). - When reporting, include helpful context: direct links to the content, a brief description of why it violates guidelines, and any relevant timestamps or thread links. - For legal emergencies or imminent threats to safety, contact local law enforcement in addition to reporting on GitHub. -Enforcement and transparency +## Enforcement and transparency - We rely on community reports and automated detection; each report is reviewed case-by-case by our moderation team. - Possible outcomes include removing offending content, limiting visibility, hiding user accounts or organizations from public view, or suspending accounts. - We apply a human-centered, proportional approach when responding to reports and aim to provide options for remediation when appropriate. - Users may not always receive public details about moderation decisions due to privacy and safety considerations, but we strive for consistent, fair enforcement. -Appeals and reinstatement -If your content or account is disabled or restricted and you wish to appeal, see the Appeal and Reinstatement page: /site-policy/acceptable-use-policies/github-appeal-and-reinstatement (please verify that the page slug and URL are correct in the site build). +## Appeals and reinstatement +If your content or account is disabled or restricted and you wish to appeal, see the Appeal and Reinstatement page: /site-policy/acceptable-use-policies/github-appeal-and-reinstatement (please verify the slug and that the page exists). -Legal notices and license +## Legal notices and license - These Community Guidelines are intended as guidance and do not replace GitHub's Terms of Service. - The text of these guidelines is dedicated to the public domain under [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/). -Notes for maintainers of this page +## Notes for maintainers of this page - Verify internal variables and shortlinks render correctly in the site build (for example, {% raw %}{% data variables.contact.contact_support %}{% endraw %}). - Consider adding localized translations where appropriate. - If you prefer an explicit support URL instead of the site variable, replace the contact variable with the canonical support link. From 4cbd36666df127b800bb91fb03d3135da876e4bc Mon Sep 17 00:00:00 2001 From: TheeNativeHub <297344811+TheeNativeHub@users.noreply.github.com> Date: Tue, 18 Aug 2026 06:26:14 +0200 Subject: [PATCH 3/4] docs(site-policy): appeal link + reporting fallback; add CODE_OF_CONDUCT.md --- .../site-policy/github-terms/github-community-guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/site-policy/github-terms/github-community-guidelines.md b/content/site-policy/github-terms/github-community-guidelines.md index 8f148d0664a7..5a70c2687e15 100644 --- a/content/site-policy/github-terms/github-community-guidelines.md +++ b/content/site-policy/github-terms/github-community-guidelines.md @@ -60,7 +60,7 @@ Scope ## How to report content or behavior - Use the built-in reporting tools on the offending content (issue, comment, or profile). -- If you need additional support, contact GitHub Support: {% raw %}{% data variables.contact.contact_support %}{% endraw %} (or replace with https://support.github.com/contact if you prefer an explicit URL). +- If you need additional support, contact GitHub Support: {% raw %}{% data variables.contact.contact_support %}{% endraw %} (or https://support.github.com/contact). - When reporting, include helpful context: direct links to the content, a brief description of why it violates guidelines, and any relevant timestamps or thread links. - For legal emergencies or imminent threats to safety, contact local law enforcement in addition to reporting on GitHub. @@ -71,7 +71,7 @@ Scope - Users may not always receive public details about moderation decisions due to privacy and safety considerations, but we strive for consistent, fair enforcement. ## Appeals and reinstatement -If your content or account is disabled or restricted and you wish to appeal, see the Appeal and Reinstatement page: /site-policy/acceptable-use-policies/github-appeal-and-reinstatement (please verify the slug and that the page exists). +If your content or account is disabled or restricted and you wish to appeal, see the Appeal and Reinstatement page: https://docs.github.com/site-policy/acceptable-use-policies/github-appeal-and-reinstatement (please verify the slug and that the page exists). ## Legal notices and license - These Community Guidelines are intended as guidance and do not replace GitHub's Terms of Service. From 22fa865ebe18a8a83598702a3d0985564a1e7f0c Mon Sep 17 00:00:00 2001 From: TheeNativeHub <297344811+TheeNativeHub@users.noreply.github.com> Date: Tue, 18 Aug 2026 06:41:22 +0200 Subject: [PATCH 4/4] Revert "Update GitHub community guidelines 2026 08 18" --- CODE_OF_CONDUCT.md | 80 ----------- .../github-community-guidelines.md | 131 ++++++++---------- 2 files changed, 61 insertions(+), 150 deletions(-) delete mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index cf1d5cca6d65..000000000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,80 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. - -We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. - -## Our Standards - -Examples of behavior that contributes to a positive environment for our community include: - -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -* Focusing on what is best not just for us as individuals, but for the overall community - -Examples of unacceptable behavior include: - -* The use of sexualized language or imagery, and sexual attention or advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email address, without their explicit permission -* Contacting individual members, contributors, or leaders privately, outside designated community mechanisms, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a professional setting - -## Enforcement Responsibilities - -Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. - -Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. - -## Scope - -This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at opensource@github.com. All complaints will be reviewed and investigated promptly and fairly. - -All community leaders are obligated to respect the privacy and security of the reporter of any incident. - -## Enforcement Guidelines - -Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: - -### 1. Correction - -**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. - -**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. - -### 2. Warning - -**Community Impact**: A violation through a single incident or series of actions. - -**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. - -### 3. Temporary Ban - -**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. - -**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. - -### 4. Permanent Ban - -**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. - -**Consequence**: A permanent ban from any sort of public interaction within the community. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at . - -Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see the FAQ at . Translations are available at . diff --git a/content/site-policy/github-terms/github-community-guidelines.md b/content/site-policy/github-terms/github-community-guidelines.md index 5a70c2687e15..0eeccbbdb19f 100644 --- a/content/site-policy/github-terms/github-community-guidelines.md +++ b/content/site-policy/github-terms/github-community-guidelines.md @@ -1,6 +1,5 @@ --- title: GitHub Community Guidelines -description: Best practices and expectations for participating in the GitHub community — for contributors, maintainers, and organizations. redirect_from: - /community-guidelines - /articles/github-community-guidelines @@ -10,74 +9,66 @@ versions: fpt: '*' category: - Review product and program terms -last_updated: 2026-08-18 --- -Millions of developers around the world host projects on GitHub. These guidelines describe what a safe, welcoming, and productive GitHub community looks like and how we expect people to interact on the platform. - -Scope -- These guidelines are guidance for contributors, maintainers, and organizations using GitHub.com. They do not replace GitHub's Terms of Service. - -## Who this applies to -- Contributors, maintainers, and organizations using GitHub. -- Public and private repositories hosted on GitHub.com. -- Community spaces like issues, pull requests, discussions, and profile pages. - -## Core principles -- Be welcoming and open-minded — welcome newcomers and value diverse perspectives. -- Be respectful — critique ideas, not people; avoid abusive or demeaning language. -- Be empathetic — recognize that people come from different backgrounds and experiences. -- Be constructive — give actionable feedback and write clearly and kindly. - -## Concrete examples (do / don't) -- Do: Ask clarifying questions in a code review and provide suggested fixes or references. -- Don't: Post personal attacks, insults, or slurs directed at a person or group. -- Do: Create a CONTRIBUTING or CODE_OF_CONDUCT file (for example, `/CODE_OF_CONDUCT.md`) to set expectations for your repo and link to it from the README. -- Don't: Share private information (doxxing) or threats of violence. -- Do: Use issue templates to request additional information from reporters and to triage bug reports and security concerns. -- Don't: Repeatedly harass or target a user across multiple issues, PRs, or accounts. -- Do: Use respectful, technical language when explaining why a change is needed; include examples and steps to reproduce when reporting bugs. -- Don't: Use sustained trolling behavior, coordinated harassment, or attempts to silence legitimate contributors. - -## More real-world scenarios -- Hate speech & slurs: Any direct use of slurs, epithets, or language intended to degrade a protected class is not acceptable. Remove or report content that includes these terms used to harass. -- Doxxing: Posting private or intimate information about someone (home address, phone numbers, non-public social profiles, government ID details) to intimidate or shame is strictly prohibited. -- Threats & violence: Threats of physical harm, sexual violence, or incitement to violence are disallowed and should be reported immediately. -- Impersonation & fraud: Creating accounts that impersonate another user, organization, or project to mislead or defraud is not acceptable. -- Spam & malicious links: Repeated, irrelevant, or promotional posts and posts that include malware or phishing links should be removed and reported. -- Targeted harassment campaigns: Coordinated attempts to flood or harass an individual across multiple repos or accounts are prohibited. -- Abuse of project tools: Using issues, PRs, or comments to continually harass maintainers (for example, by reopening closed discussions, creating duplicate abusive issues) is unacceptable. - -## Maintainers: tools and best practices -- Communicate expectations — add `CONTRIBUTING` and `CODE_OF_CONDUCT` files and link to them from your README. -- Moderate comments — users with write access can edit, hide, or remove comments that violate repository rules. -- Lock conversations — when threads get off-topic, hostile, or repetitive, lock them to stop further comments. -- Block users — block specific users from interacting with your personal account if needed. -- Limit interactions — use temporary interaction limits for repos experiencing spam, harassment, or targeted abuse. -- Use templates — issue and PR templates help gather structured reports and make moderation faster. -- Create moderation workflows — document how maintainers triage reports, escalate sensitive cases, and communicate actions back to the community. -- Security: publish a `SECURITY.md` and clearly document how to report security vulnerabilities. - -## How to report content or behavior -- Use the built-in reporting tools on the offending content (issue, comment, or profile). -- If you need additional support, contact GitHub Support: {% raw %}{% data variables.contact.contact_support %}{% endraw %} (or https://support.github.com/contact). -- When reporting, include helpful context: direct links to the content, a brief description of why it violates guidelines, and any relevant timestamps or thread links. -- For legal emergencies or imminent threats to safety, contact local law enforcement in addition to reporting on GitHub. - -## Enforcement and transparency -- We rely on community reports and automated detection; each report is reviewed case-by-case by our moderation team. -- Possible outcomes include removing offending content, limiting visibility, hiding user accounts or organizations from public view, or suspending accounts. -- We apply a human-centered, proportional approach when responding to reports and aim to provide options for remediation when appropriate. -- Users may not always receive public details about moderation decisions due to privacy and safety considerations, but we strive for consistent, fair enforcement. - -## Appeals and reinstatement -If your content or account is disabled or restricted and you wish to appeal, see the Appeal and Reinstatement page: https://docs.github.com/site-policy/acceptable-use-policies/github-appeal-and-reinstatement (please verify the slug and that the page exists). - -## Legal notices and license -- These Community Guidelines are intended as guidance and do not replace GitHub's Terms of Service. -- The text of these guidelines is dedicated to the public domain under [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/). - -## Notes for maintainers of this page -- Verify internal variables and shortlinks render correctly in the site build (for example, {% raw %}{% data variables.contact.contact_support %}{% endraw %}). -- Consider adding localized translations where appropriate. -- If you prefer an explicit support URL instead of the site variable, replace the contact variable with the canonical support link. +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. + +Our diverse user base brings different perspectives, ideas, and experiences, and ranges from people who created their first "Hello World" project last week to the most well-known software developers in the world. We are committed to making GitHub an environment that welcomes all the different voices and perspectives our community has to offer, while maintaining a safe place for developers to do their best work. + +By outlining what we think a [safe, welcoming, and productive community](https://opensource.guide/building-community/) looks like at GitHub, we hope to help you understand how best to interact and collaborate on our platform in line with our [Terms of Service](/site-policy/github-terms/github-terms-of-service) and [Acceptable Use Policies](/site-policy/acceptable-use-policies/github-acceptable-use-policies). + +We encourage our community members to communicate expectations clearly, [moderate](#what-if-something-or-someone-offends-you) their projects where possible, and [report](https://github.com/contact/report-abuse) any content that may violate our [policies](/site-policy/github-terms/github-terms-of-service). GitHub Staff will investigate any reports of abuse, and may moderate public content on our site that we determine to be in violation of our Terms of Service. + +## Maintaining a strong community + +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. + +* **Be welcoming and open-minded** - New users join our community each day. Some are well-established developers, while others are just beginning. Be open to other ideas and experience levels. Make room for opinions other than your own and be welcoming to new collaborators and those just getting started. + +* **Be respectful** - Working in a collaborative environment means disagreements may happen. But remember to criticize ideas, not people. Share thoughtful, constructive criticism and be courteous to those you interact with. If you’re unable to engage respectfully, consider taking a step back or using some of our moderation tools to deescalate a tense situation. + +* **Be empathetic** - GitHub is a global community with people from a wide variety of backgrounds and perspectives, many of which may not be your own. Try to put yourself in others’ shoes and understand their feelings before you address them. Do your best to help make GitHub a community where others feel safe to make contributions, participate in discussions, and share different ideas. + +## What if something or someone offends you? + +While some disagreements can be resolved with direct, respectful communication between community members, we understand that is not always the case. We encourage our community to contact GitHub Support through the [GitHub Support portal](https://support.github.com/) when they believe content or activity they’ve encountered violates our policies. However, if you run into something or someone on the site that you find objectionable, here are some ways GitHub enables you to take action: + +* **Communicate expectations** - Maintainers can set community-specific guidelines to help users understand how to interact with their projects, for example, in a repository’s README, [CONTRIBUTING file](/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors), or [dedicated code of conduct](/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project). You can find additional information on building communities on the [Communities](/communities) page. + +* **Moderate Comments** - Users with [write-access privileges](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization) for a repository can [edit, delete, or hide anyone's comments](/communities/moderating-comments-and-conversations/managing-disruptive-comments) on commits, pull requests, and issues. Anyone with read access to a repository can view a comment's edit history. Comment authors and people with write access to a repository can also delete sensitive information from a [comment's edit history](/communities/moderating-comments-and-conversations/tracking-changes-in-a-comment). Moderating your projects can feel like a big task if there is a lot of activity, but you can [add collaborators](/repositories/managing-your-repositorys-settings-and-features/repository-access-and-collaboration/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account) to assist you in managing your community. + +* **Lock Conversations**  - If a discussion in an issue, pull request, or commit gets out of hand, off topic, or violates your project’s code of conduct or GitHub’s policies, owners, collaborators, and anyone else with write access can put a temporary or permanent lock on the conversation. For more information, see [AUTOTITLE](/communities/moderating-comments-and-conversations/locking-conversations). + +* **Block Users**  - If you encounter a specific user who you would rather not engage with, you can [block the user from your personal account](/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account) or [from your organization](/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization). + +* **Limit Interactions** - If your public project is getting unwanted attention, being trolled, spammed, or otherwise, you have the option of setting [temporary interaction limits](/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository) to keep certain users from interacting with your repository. You can even set [code review limits](https://github.blog/2021-11-01-github-keeps-getting-better-for-open-source-maintainers/#preventing-drive-by-pull-request-approvals-and-requested-changes) to ensure quality contributions on your projects. + +While we are passionate about empowering maintainers to moderate their own projects, please contact {% data variables.contact.contact_support %} if you need additional support in dealing with a situation. + +## What happens if someone violates GitHub's policies? + +We rely on reports from the community, as well as proactive detection, to help ensure that GitHub is a safe, welcoming, and productive platform for software developers. There are a variety of factors we consider when we’re made aware of behavior or content not in line with GitHub’s policies. However, our policy enforcement and content moderation approach prioritizes our vision to be the home for all developers. This means: + +* We optimize for code collaboration. We recognize that code can have multiple uses and we distinguish between how the code is being used on the platform and other possible uses. We also think about how our enforcement actions can affect a potentially complicated web of interdependencies across the platform and aim to restrict as little legitimate content as possible. + +* We take a human-centered approach to content moderation and we tailor our responses to meet the needs of a specific situation. Our global team investigates the reports we receive on a case-by-case basis—considering context and the surrounding facts—before taking action. This could include taking into account potentially offensive content being posted in a way that lacks context or makes it easy for other users to unwittingly view or interact with while using GitHub. In those instances, we may favor moderation in order to safeguard our community. + +* Our decisions are rooted in our core belief that serving an interconnected community and empowering human progress through developer collaboration requires a commitment to diversity, inclusion, and belonging. + +Where we have decided that moderation action is warranted, these are some of the ways we may respond: + +* Removing the offending content +* Blocking or disabling the offending content +* Downgrading the visibility of the offending content +* Hiding a user account or organization from public view +* Suspending a user account or organization + +## Appeal and Reinstatement + +If your content or account has been disabled or restricted and you seek reinstatement or wish to appeal, please see our [Appeal and Reinstatement page](/site-policy/acceptable-use-policies/github-appeal-and-reinstatement) for information about the process and use our [Appeal and Reinstatement form](https://support.github.com/contact/reinstatement) to submit a request. + +## Legal Notices + +We dedicate these Community Guidelines to the public domain for anyone to use, reuse, adapt, or whatever, under the terms of [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/). + +These are only guidelines; they do not modify our [Terms of Service](/site-policy/github-terms/github-terms-of-service) and are not intended to be a complete list. Under those terms, GitHub retains full discretion to remove any content or terminate any accounts for activity that violates our [Acceptable Use Policies](/site-policy/acceptable-use-policies/github-acceptable-use-policies). These guidelines describe when we will exercise that discretion.