Skip to content

Releases: mineiros-io/terraform-github-repository

v0.18.0

07 Nov 20:24
ee6001a
Compare
Choose a tag to compare

Added

  • Add support for v4 branch protections.

Removed

  • BREAKING CHANGE: Remove deprectated variable branch_protections please use branch_protections_v3 instead.

Deprecated

  • Mark var.defaults as deprecated. This variable was introduced and used before Terraform Module for_each was available.

v0.17.0

20 Oct 13:57
f94103f
Compare
Choose a tag to compare

Added

  • Add support for Terraform GitHub Provider version 5.x

v0.16.2

11 May 09:10
9f3f601
Compare
Choose a tag to compare

Changelog

Fixed

  • var.app_installations should be a of type set(string) instead of set(number)

v0.16.1

04 May 12:14
5eaaad1
Compare
Choose a tag to compare

Changelog

Added

  • Add support for github_app_installation_repository (special thanks to @anthr76 for requesting this feature)

v0.16.0

15 Mar 09:14
a643209
Compare
Choose a tag to compare

Changelog

Fixed

  • BREAKING CHANGE: Remove support for multi-type variable branches (removed list(string) support)
  • Set correct default value for delete_branch_on_merge in docs

v0.15.0

10 Mar 17:03
3bb3764
Compare
Choose a tag to compare

Changelog

Added

  • Add support for github_branches

Fixed

  • Set the correct alternative type for deploy_keys in README

v0.14.0

22 Feb 15:22
b7d24fb
Compare
Choose a tag to compare

Added

  • Add support for require_conversation_resolution for Branch Protection (thanks to @0x46616c6b)
  • Add support for encrypted_secrets

Changed

  • BREAKING: update to provider ~> 4.20 fixing an issue that was just supporting v4.19.x

v0.13.0

10 Feb 16:27
059d845
Compare
Choose a tag to compare

Added

  • Add GitHub Autolink References configuration block (thanks to @0x46616c6b)

v0.12.0

08 Feb 17:02
3808fcd
Compare
Choose a tag to compare

Changelog

BREAKING CHANGES

Bumped the minimum supported version of the GitHub Terraform Provider to v4.19.2
since it contains a critical bugfix to support required_approving_review_count = 0
on branch protection rules. Also, allow_auto_merge has been added in v4.17.0.

Added

  • Add support for allow_auto_merge

v0.11.0

23 Nov 21:03
52e57a0
Compare
Choose a tag to compare

Changelog

BREAKING CHANGES

We dropped support for Terraform pre 1.0 and GitHub Terraform Provider pre 4.0.
In addition we changed to the integrations/github official GitHub Terraform Provider.
This needs migration actions if you already used this module with the hashicorp/github provider and want to upgrade.

Migration from previous versions

To migrate from a previous version, please ensure that you are using the
integrations/github official GitHub Terraform Provider.

terraform {
  required_version = "~> 1.0"

  required_providers {
    github = {
      source  = "integrations/github"
      version = "~> 4.0"
    }
  }
}

Once you've updated the provider, a manual state migration is required to
migrate existing resources to the new provider.
The following command will replace the provider in the state.

terraform state replace-provider registry.terraform.io/hashicorp/github registry.terraform.io/integrations/github

After you've migrated the state, please run
terraform init to apply the changes to the resources.

Added

  • Add support for Official GitHub Terraform Provider integrations/github

Removed

  • Removed support for Terraform < 1.0
  • Removed support for GitHub Provider < 4.0
  • Removed compatibility to Hashicorp GitHub Terraform Provider hashicorp/github

Fixed

  • Set webhooks output as sensitive.
  • Add underscores in team names (special thanks to @marc-sensenich)
  • Fix dismiss_stale_reviews in README to a default value of true