Skip to content

Commit

Permalink
feat: Make issues optional (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea authored Jun 27, 2023
1 parent a407461 commit 80bc976
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resource "github_repository" "main" {
allow_auto_merge = false
delete_branch_on_merge = true

has_issues = true
has_issues = var.support_issues
has_downloads = false
auto_init = true

Expand Down
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ variable "support_releases" {
default = true
description = "Whether the project uses Semantic Releases"
}
variable "support_issues" {
default = true
description = "Whether the project should allow issues"
}

variable "pages_source_path" {
default = null
Expand Down

0 comments on commit 80bc976

Please sign in to comment.