The CDCGov organization on GitHub is designated for use by CDC programs to publish open source code. This is a set of practices to help programs release secure and compliant open source projects successfully. If you are interested in using GitHub for non-open source projects, please see information on our enterprise organization.
We designed these practices to be straightforward and helpful, and we accept feedback from the community on updating them. For Required Practices, Projects that don't adhere to the Required Practices could be subject to archival or removal.
Before you can publish your project, you must request access to be added to the CDCgov organization. Complete these steps:
You should receive an email or notification when you are given access and your first repository should be setup for you. For subsequent projects, you will be able to create a repository in the organization using Github's interface. The template repository is maintained and an easy way to quick start your repository that complies with the guidelines. Once this is completed you're ready to follow the required guidelines to publish code.
You must follow these practices before you publish real code into your repository.
README.md
file at the root with the following:README.md
file. If your project is no longer active, mark it as archived.README.md
file to let users know and archive the repository.Optional improvements to make your open source project more successful.
README.md
file. Depending on what type of project, this includes folder structure for data, linters, editor configuration (eg, MicrobeTrace's .editorconfig). This will help improve the quality of your project and make it easier for others to contribute to your project.If you need additional support with your setting up project, or have any feedback or ideas about this guidance please open an issue or send an email to data@cdc.gov. We also accept pull requests if you want to directly edit the guidance.
Projects in this organization are reviewed occasionally for compliance with the Required Practices. If your project is found to not be in compliance, you will be contacted by administrators to help bring your project into compliance. Projects that do not respond or that habitually fail to meet these practices will be archived or removed from the organization, depending on severity.
Please make sure your profile is set up properly to help us work better together. Specifically, keep your profile up to date with:
If you admin any projects, make sure to secure your account with two-factor authentication (2FA). Although you probably already did this because you are smart.
So you've decided to set up an open source project at CDC. Here are the steps to do that, in the most common order.
This checklist was adapted from the CDC IT Guard Rail and put here to help people who don't have access to the intranet.
Our CDCent organization is used for private, non-public projects so only CDC staff and approved outside collaborators work on these projects, you can request access through the GitHub Enterprise Cloud form.
These are helpful links from across the Federal Government regarding open sourcing code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.