mirror of
https://github.com/immich-app/devtools.git
synced 2026-09-30 13:23:00 +08:00
feat: replace custom Approval Check with required_reviewers
This commit is contained in:
@@ -69,8 +69,16 @@ resource "github_organization_ruleset" "org_required_checks" {
|
||||
required_check {
|
||||
context = "Zizmor / zizmor"
|
||||
}
|
||||
required_check {
|
||||
context = "Approval Check"
|
||||
}
|
||||
|
||||
pull_request {
|
||||
required_reviewers {
|
||||
reviewer {
|
||||
id = github_team.employees.id
|
||||
type = "Team"
|
||||
}
|
||||
file_patterns = ["**"]
|
||||
minimum_approvals = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user