We're so thankful you're considering contributing to an open source project of the U.S. government! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change something. We appreciate all friendly contributions.
We encourage you to read this project's CONTRIBUTING policy (you are here), its LICENSE, and its README.
This repository is maintained by the Digital Services at CMS (DSACMS).
For details on contributors, see COMMUNITY.md.
To install dependencies:
git clone https://github.com/dsacms/code-gov.git
cd code-gov
npm installTo build locally:
npm run buildFor local development with hot reload:
npm startWe follow the GitHub Flow Workflow
- Fork the project
- Check out the
mainbranch - Create a feature branch
- Write code and tests for your change
- From your branch, make a pull request against
dsacms/code-gov/main - Work with repo maintainers to get your change reviewed
- Wait for your change to be pulled into
dsacms/code-gov/main - Delete your feature branch
We enforce consistent coding style with automated tools:
- Code must follow Prettier formatting
- Linting is enforced with ESLint
- Commit messages must follow Conventional Commits
Before submitting run:
npm run lint
npm run formatWhen creating an issue, please use the format providede with our issue templates.
Pull requests should:
Be filed against the main branch.
Include a clear description of the problem, solution, and result.
Follow the Conventional Commits guidelines noted above.
See our pull request template for more
Pull requests are reviewed by the maintainers listed in COMMUNITY.md. Reviews may include feedback on style, functionality, security, and documentation.
We also welcome improvements to the project documentation or to the existing docs. Please file an issue.
We adhere to the CMS Open Source Policy. If you have any questions, just shoot us an email.
Submit a vulnerability: Vulnerability reports can be submitted through Bugcrowd. Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days.
For more information about our Security, Vulnerability, and Responsible Disclosure Policies, see SECURITY.md.
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request or issue, you are agreeing to comply with this waiver of copyright interest.