-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwcag-statistieken.tf
93 lines (80 loc) · 2.13 KB
/
wcag-statistieken.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
resource "github_repository" "wcag-statistieken" {
name = "wcag-statistieken"
description = ""
allow_merge_commit = false
allow_rebase_merge = true
allow_squash_merge = true
allow_auto_merge = true
delete_branch_on_merge = true
has_issues = true
has_downloads = false
has_projects = true
has_wiki = true
vulnerability_alerts = true
homepage_url = "https://nl-design-system.github.io/wcag-statistieken/"
squash_merge_commit_title = "PR_TITLE"
squash_merge_commit_message = "PR_BODY"
topics = []
security_and_analysis {
secret_scanning {
status = "enabled"
}
secret_scanning_push_protection {
status = "enabled"
}
}
pages {
build_type = "workflow"
source {
branch = "main"
path = "/"
}
}
lifecycle {
prevent_destroy = true
}
}
resource "github_repository_ruleset" "wcag-statistieken-main" {
name = "main"
repository = github_repository.wcag-statistieken.name
target = "branch"
enforcement = "active"
conditions {
ref_name {
include = ["refs/heads/main"]
exclude = []
}
}
rules {
pull_request {
dismiss_stale_reviews_on_push = true
required_approving_review_count = 1
required_review_thread_resolution = true
}
required_linear_history = true
}
bypass_actors {
actor_id = github_team.kernteam-ci.id
actor_type = "Team"
bypass_mode = "always"
}
}
resource "github_repository_collaborators" "wcag-statistieken" {
repository = github_repository.wcag-statistieken.name
team {
permission = "admin"
team_id = github_team.kernteam-admin.id
}
team {
permission = "maintain"
team_id = github_team.kernteam-maintainer.id
}
team {
permission = "push"
team_id = github_team.expertteam-digitale-toegankelijkheid-committer.id
}
team {
permission = "triage"
team_id = github_team.expertteam-digitale-toegankelijkheid-triage.id
}
}