Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 9.59 KB

README.md

File metadata and controls

82 lines (57 loc) · 9.59 KB

Creating a default community health file

You can add default community health files to a public repository called .github, in the root of the repository or in the docs or .github folders.

GitHub will use and display default files for any repository owned by the account that does not have its own file of that type in any of the following places:

  • the root of the repository
  • the .github folder
  • the docs folder

For example, anyone who creates an issue or pull request in a repository that does not have its own CONTRIBUTING file will see a link to the default CONTRIBUTING file. If a repository has any files in its own .github/ISSUE_TEMPLATE folder, including issue templates or a config.yml file, none of the contents of the default .github/ISSUE_TEMPLATE folder will be used.

Default files are not included in clones, packages, or downloads of individual repositories because they are stored only in the .github repository.

Supported file types

You can create defaults in your organization or personal account for the following community health files:

Community health file Description
CODE_OF_CONDUCT.md A CODE_OF_CONDUCT file defines standards for how to engage in a community. For more information, see "Adding a code of conduct to your project."
CONTRIBUTING.md A CONTRIBUTING file communicates how people should contribute to your project. For more information, see "Setting guidelines for repository contributors."
Discussion category forms Discussion category forms customize the templates that are available for community members to use when they open new discussions in your repository. For more information, see "Creating discussion category forms."
FUNDING.yml A FUNDING file displays a sponsor button in your repository to increase the visibility of funding options for your open source project. For more information, see "Displaying a sponsor button in your repository."
GOVERNANCE.md A GOVERNANCE file lets people know about how your project is governed. For example, it might discuss project roles and how decisions are made.
Issue and pull request templates and config.yml Issue and pull request templates customize and standardize the information you'd like contributors to include when they open issues and pull requests in your repository. For more information, see "About issue and pull request templates."
SECURITY.md A SECURITY file gives instructions for how to report a security vulnerability in your project. For more information, see "Adding a security policy to your repository."
SUPPORT.md A SUPPORT file lets people know about ways to get help with your project. For more information, see "Adding support resources to your project."

You cannot create a default license file. License files must be added to individual repositories so the file will be included when a project is cloned, packaged, or downloaded.

Creating a repository for default files

  1. In the upper-right corner of any page, use the drop-down menu, and select New repository.

    asd

  2. Use the Owner drop-down menu, and select the organization or personal account you want to create default files for.asdfaf

  3. In the "Repository name" field, type .github.

  4. Optionally, in the "Description" field, type a description.

  5. Make sure the repository status is set to Public. A repository for default files cannot be private.

  6. Select Initialize this repository with a README.

  7. Click Create repository.

  8. In the repository, create one of the supported community health files. Issue templates and their configuration file must be in a folder called .github/ISSUE_TEMPLATE. All other supported files may be in the root of the repository, the .github folder, or the docs folder. For more information, see "Creating new files."

Product Feedback

Feedback Category About the Product
👍 Accessibility About Accessibility
🚢 Actions GitHub Actions
🔁 API and Webhooks GitHub API and GitHub Webhooks
🔎 Code Search & Navigation Code Search & Navigation
💻 Codespaces GitHub Codespaces
👩‍✈️ Copilot GitHub Copilot (Technical Preview)
🤖 Code Security GitHub Code Security
🗣️ Discussions GitHub Discussions
🌐 Feed GitHub Feed
🎒 GitHub Education GitHub Education
🐙 Issues GitHub Issues
Lists GitHub Lists (Public Beta)
📱 Mobile GitHub Mobile
📦 Packages GitHub Packages
🗒️ Pages GitHub Pages
🖼️ Profile GitHub Profile
✔️ Pull Requests GitHub Pull Requests
🗳️ Repositories GitHub Repositories
💖 Sponsors GitHub Sponsors
:octocat: General Feedback GitHub Docs

These discussions are where you can share suggestions for how the products should be improved and discuss those improvements with the community, including members of the GitHub product team. Check out Making suggestions to learn how to provide feedback.

Link