-
Notifications
You must be signed in to change notification settings - Fork 0
/
github.tf
130 lines (124 loc) · 3.37 KB
/
github.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
resource "github_repository" "iac" {
name = "iac"
visibility = "public"
description = "Infrastructure as Code"
has_wiki = false
has_projects = false
has_downloads = false
has_issues = true
archived = false
topics = [
"infrastructure-as-code",
"iac",
"terraform",
"terraform-cloud"
]
allow_merge_commit = false
allow_rebase_merge = false
allow_squash_merge = true
delete_branch_on_merge = true
vulnerability_alerts = true
auto_init = null
gitignore_template = null
license_template = ""
homepage_url = "https://app.terraform.io/app/sean-ahn/workspaces/iac"
}
resource "github_branch_protection" "iac_main" {
repository_id = github_repository.iac.name
pattern = "main"
required_status_checks {
strict = true
contexts = ["Terraform Cloud/sean-ahn/iac", "lint", "terraform"]
}
}
resource "github_repository_file" "iac_CODEOWNERS" {
repository = github_repository.iac.name
file = ".github/CODEOWNERS"
content = "* @sean-ahn\n"
overwrite_on_create = true
}
resource "github_repository" "gotzdatacheck" {
name = "gotzdatacheck"
visibility = "public"
description = "gotzdatacheck checks that the time/tzdata package is imported into the main package"
has_wiki = false
has_projects = false
has_downloads = false
has_issues = true
archived = false
topics = [
"golang"
]
allow_merge_commit = false
allow_rebase_merge = false
allow_squash_merge = true
delete_branch_on_merge = true
vulnerability_alerts = true
auto_init = null
gitignore_template = null
license_template = ""
homepage_url = ""
}
resource "github_repository" "blog-web" {
name = "blog-web"
visibility = "public"
description = ""
has_wiki = false
has_projects = false
has_downloads = false
has_issues = true
archived = false
topics = [
"typescript",
"reactjs",
"nextjs",
"tailwindcss"
]
allow_merge_commit = false
allow_rebase_merge = false
allow_squash_merge = true
delete_branch_on_merge = true
vulnerability_alerts = true
auto_init = null
gitignore_template = null
license_template = ""
homepage_url = "blog-web-flame.vercel.app"
}
resource "github_repository" "user" {
name = "user"
visibility = "public"
description = "A service providing basic user system with SMS OTP verification and JWT authentication"
has_wiki = false
has_projects = false
has_downloads = false
has_issues = true
archived = false
topics = [
"go",
"golang",
"grpc",
"protocol-buffers",
"protobuf",
"buf-cli",
"buf-schema-registry",
"mysql",
"jwt"
]
allow_merge_commit = false
allow_rebase_merge = false
allow_squash_merge = true
delete_branch_on_merge = true
vulnerability_alerts = true
auto_init = null
gitignore_template = null
license_template = "mit"
homepage_url = ""
}
resource "github_branch_protection" "user_main" {
repository_id = github_repository.user.name
pattern = "main"
required_status_checks {
strict = true
contexts = ["proto", "backend", "build", "CodeQL", "Analyze (go)"]
}
}