- Click the big green button
Use this template
or click here. - Enter a Repository name and click
Create repository from template
- Head over to the created repository and complete the setup.
- In the new repository add a secret named 'REPO_SETUP_TOKEN'. Set this to a value of a Personal access token with the scope 'workflow'
- In the new repository, complete the project setup by editing the
cookiecutter.json
file. - Hit cmd + S and then Enter to perform a commit (the commit message doesn't really matter).
- Wait Setup Repository Action to complete.
On June 6, 2019, GitHub introduced Repository Templates giving users an easy way to share boilerplate for their projects. Stefan Buck created a cookciecutter script that replace some tokens so creating a new repo gets that much easier. Read the full blog post to learn how to template new projects using repository templates and GitHub Actions.