Skip to content

Commit

Permalink
chore: GitHub Actions doesn't have permission to manage branch protec…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
rawkode committed Feb 24, 2020
1 parent 7903f16 commit b1671f5
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions terraform/repository.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,6 @@ resource "github_repository" "helm_charts" {
private = false
}

resource "github_branch_protection" "helm_charts_master" {
repository = "${github_repository.helm_charts.name}"
branch = "master"
enforce_admins = true

required_status_checks {
strict = true
}

required_pull_request_reviews {
dismiss_stale_reviews = true
require_code_owner_reviews = true
required_approving_review_count = 2
}

restrictions {
}
}

variable "colour_dark_blue" {
type = string
default = "779ecb"
Expand Down

0 comments on commit b1671f5

Please sign in to comment.