Skip to content

Commit 2e01393

Browse files
committed
github_repository_ruleset: Change TestGithubRepositoryRulesetArchived repos to be private
This allows even EMU users to run these tests Signed-off-by: Timo Sand <[email protected]>
1 parent bedfb34 commit 2e01393

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

github/resource_github_repository_ruleset_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,8 @@ func TestGithubRepositoryRulesetArchived(t *testing.T) {
10951095
name = "tf-acc-test-archive-%s"
10961096
auto_init = true
10971097
archived = false
1098+
1099+
visibility = "private" # Enables test even in GHEC EMU
10981100
}
10991101
resource "github_repository_ruleset" "test" {
11001102
name = "test"
@@ -1122,6 +1124,8 @@ func TestGithubRepositoryRulesetArchived(t *testing.T) {
11221124
name = "tf-acc-test-archive-create-%s"
11231125
auto_init = true
11241126
archived = true
1127+
1128+
visibility = "private" # Enables test even in GHEC EMU
11251129
}
11261130
resource "github_repository_ruleset" "test" {
11271131
name = "test"

0 commit comments

Comments
 (0)