Skip to content

Create TF module that supports creating GH repositories #1

@michaltomczuk

Description

@michaltomczuk

We need to have the TF module responsible for creating GH repositories in a unified manner.

What is required:

  • the new repo should be created from a proper template

Settings:

General:

The naming convention:

terraform-cloud_provider-service_name

example: terraform-aws-iam-account-password-policy

  • Social preview images (use 1280×640px)

Features

  • enable Issues
  • disable Wikis
  • disable Sponsorships
  • disable Projects
  • enable Preserve this repository
  • disable Discussions

Pull Requests

  • enable Allow merge commits with default message
  • enable Allow squash merging with default message
  • enable Allow rebase merging
  • enable Always suggest updating pull request branches
  • disable Allow auto-merge
  • enable Automatically delete head branches

Collaborators and teams

Manage access

  • the TF modules should be managed by terraformers group with Admin role

Branches

  • the main branch should be protected

Protect matching branches

  • enable Require a pull request before merging
  • enable Required approvals - 1
  • enable Require review from Code Owners
  • enable Require conversation resolution before merging

Tags

  • set a rule to protect v* tags

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions