Skip to content

A tool to help me configure new GitHub repos with secure defaults.

License

Notifications You must be signed in to change notification settings

juliendoutre/factory

Repository files navigation

Factory

This is a tool to help me configure new GitHub repositories with secure defaults.

It uses the GitHub Terraform provider.

Prerequisites

brew install tfenv gh jq

Usage

./enforce.sh <REPO> <OWNER>

If <REPO> does not exist yet, it will be created based on the https://github.com/juliendoutre/template template. If <OWNER> is omitted, the current authenticated GitHub user will be used.

You may want to edit the repository's configuration in main.tf to tweak the settings depending on your needs.

Development

Format the code

brew install shellcheck
terraform fmt
shellcheck ./enforce.sh

About

A tool to help me configure new GitHub repos with secure defaults.

Resources

License

Stars

Watchers

Forks