Skip to content

Commit

Permalink
chore(repository): make public and add branch protection (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiran94 committed Dec 27, 2023
1 parent 4e91e23 commit 94b4a8e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions terraform/github.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "github_repository" "main" {
name = "fuzzy-secret-stdout"
description = "Small utility to fuzzy search from a secret store and print the value to stdout"
visibility = "private"
visibility = "public"
homepage_url = ""

has_projects = false
Expand All @@ -22,13 +22,13 @@ resource "github_repository" "main" {
]
}

# resource "github_branch_protection" "main" {
# repository_id = github_repository.main.node_id
# pattern = "main"
# enforce_admins = false
# allows_deletions = false
# allows_force_pushes = false
# }
resource "github_branch_protection" "main" {
repository_id = github_repository.main.node_id
pattern = "main"
enforce_admins = false
allows_deletions = false
allows_force_pushes = false
}

# SECRETS

Expand Down

0 comments on commit 94b4a8e

Please sign in to comment.