Skip to content

Commit

Permalink
Merge pull request #1080 from cloudskiff/fix_gh_acc_tests
Browse files Browse the repository at this point in the history
Fix github acceptance test
  • Loading branch information
eliecharra authored Sep 28, 2021
2 parents 65352be + 73db23a commit e6e13a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "github_branch" "repo_toto" {
resource "github_branch_protection" "main_repo" {
count = 3
pattern = "main"
repository_id = github_repository.repo[count.index].node_id
repository_id = github_repository.repo[count.index].name
enforce_admins = true
required_status_checks {
strict = false
Expand All @@ -50,7 +50,7 @@ resource "github_branch_protection" "main_repo" {

resource "github_branch_protection" "toto_repo" {
count = 3
repository_id = github_repository.repo[count.index].node_id
repository_id = github_repository.repo[count.index].name
pattern = github_branch.repo_toto[count.index].branch
enforce_admins = true
}

0 comments on commit e6e13a0

Please sign in to comment.