qmetrics.net

Terraform Provider GitHub

Terraform provider for GitHub.com and Enterprise

Terraform Provider GitHub screenshot

The GitHub Terraform provider manages GitHub repositories, teams, settings, and automation objects via REST and GraphQL APIs.

Overview

The GitHub Terraform provider lets teams describe GitHub organization and repository resources in Terraform. It covers repositories, teams, branch protections, Actions secrets and variables, organization settings, rulesets, deploy keys, webhooks, and related objects on GitHub.com or GitHub Enterprise Server.

Registry documentation requires a required_providers entry for integrations/github in each module that creates resources. The provider block can set an owner or organization, and authentication supports personal access tokens, GitHub App installations, GitHub CLI tokens, or anonymous read-only access through a defined fallback order.

Enterprise deployments can set a custom base URL for GitHub Enterprise Server or data residency hosts. Optional tuning includes caching paths, retry behavior, pagination limits, and delays to reduce rate limiting during large plans.

It runs within the Terraform CLI when applying configuration against GitHub’s APIs and does not host GitHub itself.

Key features

  • Repository and team management
  • Branch protection and rulesets
  • Actions secrets and variables
  • Organization settings resources
  • Deploy keys and webhooks
  • PAT, App, and gh CLI auth
  • GitHub Enterprise Server base URL
  • REST and GraphQL API coverage

Use cases

  • GitOps repository provisioning
  • Standardizing org security settings
  • Managing Actions secrets in code
  • Enterprise GitHub automation
  • Team and access structure as code

Tags

Similar software

Gitea

Self-hosted Git forge with CI/CD and packages

Gitea is an all-in-one software development service you can run on your own infrastructure. It combines Git hosting with issues, reviews, project boards, package registries, and Gitea Actions CI/CD.

★ 59.3k⟳ todayMIT
Build & DeploymentSelf-hostable
Open Source Alternative to:GitHub

Harness

End-to-end developer platform with SCM, CI/CD, and registries

Harness Open Source combines code hosting, automated DevOps pipelines, hosted development environments called Gitspaces, and artifact registries in one platform.

★ 39k⟳ yesterdayApache-2.0
Build & DeploymentSelf-hostable
Open Source Alternative to:GitHub

GitLab

Open-core DevSecOps platform with Git hosting, CI/CD and security scanning

GitLab is a single application for the software development lifecycle, combining Git repository management, code review, CI/CD pipelines, security scanning and project management. It can be installed on your own servers.

★ 24.6k GitHub stars⟳ todayMIT
Build & DeploymentSelf-hostable
Open Source Alternative to:GitHub

OneDev

Unified self-hosted Git DevOps platform

OneDev combines Git hosting, issues, pull requests, CI/CD, packages, wiki, and workspaces in one web application. Server distributions target Linux and Windows on amd64 and arm64, and macOS on Apple Silicon.

★ 15.4k⟳ todayMIT
Open Source Alternative to:GitHub

git-cliff

Configurable changelog generator from Git history

git-cliff builds changelog files from commits using conventional commits or custom regex parsers and templates.

★ 12.4k⟳ 6 days agoApache-2.0
Build & DeploymentDesktop/CLI app

Conventional Changelog

Git history to changelog generator with commit conventions

Conventional Changelog turns git commit metadata into formatted changelog and release notes using Conventional Commits or Angular presets. It offers a CLI, a composable JavaScript API, and packages for parsing, filtering, and version bump recommendations.

★ 8.5k⟳ 26 days agoISC
Build & DeploymentDesktop/CLI app