Thank you for your interest in contributing to this project!
This repository serves a dual purpose:
- It is a Copier template.
- It is a standard GitHub template repository.
This is achieved through a CI/CD process where the template branch, containing the Copier Jinja2 templates, is rendered and pushed to the main branch. The main branch can then be used as a regular GitHub template.
Because of this setup, all development must happen on the template branch. The main branch is protected and automatically updated.
To contribute, please follow these steps:
- Fork the repository.
- Create a new branch from the
templatebranch.git checkout template git checkout -b my-new-feature
- Make your changes.
- Modify the template files. They have a
.jinjaextension if the content of the file is manipulated, and the curly braces in the names is jinja too that is interpolated. - If you're adding new template variables, update
copier.yml.
- Modify the template files. They have a
- Test your changes (if applicable).
You can test the template rendering locally using
copier. - Commit your changes and push your branch.
- Open a Pull Request against the
templatebranch.
Your pull request will be reviewed, and once merged, a GitHub Actions workflow will automatically render the updated template and commit the result to the main branch.
Direct pushes or pull requests to the main cannot be accepted.