We welcome contributions to the GitHub Foundations Toolkit. Please read these Contributing Guidelines for more information on how to get started.
We welcome contributions from the community and are happy to have you as a contributor. Here are a few ways you can contribute:
You will need the following installed:
To install the above using homebrew
, do the following:
$ brew install terraform terragrunt pre-commit tflint trivy terraform-docs
You can run the pre-commit checks manually. See here for more information.
If you find a bug or have a feature request, please report it in the Issues
We use Conventional Commits to ensure that our commit messages are easy to read and understand. This makes it easier to understand the history of the project and to generate changelogs.
When you submit a pull request, please use conventional commits for your commit messages. This will make it easier for us to understand your changes and to generate changelogs.
The format is:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Where type is one of:
- build
- ci
- docs
- feat
- fix
- perf
- refactor
- style
- test
- chore
- revert
- bump
If you would like to contribute to the project, please submit a pull request. We will review your pull request and work with you to get it merged.
A pull request description must include:
- A description of the problem you are solving
- A description of the solution
- A description of the testing you have done to verify the solution
- A description of any documentation updates that were needed
Your pull request must pass all existing tests, and you should add tests for any new functionality you are adding.
Your changes should also pass the pre-commit checks. To install pre-commit, see the installation instructions.
You can install the pre-commit checks by running
$ pre-commit install
in the root of the repository.
Then, whenever you run git commit
, the pre-commit checks will run. If any of the checks fail, the commit will be aborted.
If you'd like to run pre-commit on your staged
files, you can run:
$ pre-commit run
If you would like to run pre-commit across your entire repo, you can run:
$ pre-commit run --all-files
We are always looking for feedback on how we can improve the project. If you have any feedback, please let us know in the Issues or Discussions.