Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: git-hubby
description: Helm chart for the git-hubby Kubernetes operator — manage GitHub resources declaratively via CRDs
type: application
version: 0.0.1
appVersion: "0.4.5"
appVersion: "0.5.0"
home: https://github.com/Interhyp/git-hubby-helm
sources:
- https://github.com/Interhyp/git-hubby-helm
Expand Down
60 changes: 60 additions & 0 deletions crds/github.interhyp.de_rulesetpresets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,66 @@ spec:
RequiredReviewThreadResolution requires all review comment threads to be resolved before merging.
This ensures all feedback is addressed.
type: boolean
requiredReviewers:
description: |-
RequiredReviewers forces pull request approval by the configured reviewers
on all pull requests changing files that match the configured file patterns.
items:
description: |-
RequiredPullRequestReviewer is the configuration for a required review on all pull request changing files that match
the configured file patterns.
properties:
filePatterns:
default:
- '*'
description: |-
FilePatterns are fnmatch syntax patterns that pull request changes are matched against.
If a pull request changes any matching file it must be approved by the configured reviewers.
Defaults to "*" representing all files.
items:
type: string
maxItems: 10
type: array
minimumApprovals:
default: 0
description: |-
MinimumApprovals is the minimum number of approvals required before a matching pull request
can be merged. If set to zero, the team will be added to the pull request but approval is optional.
Requires a non-negative value. Defaults to 0.
minimum: 0
type: integer
reviewer:
description: Reviewer defines who is required to review.
properties:
id:
description: ID of the required reviewer. This field
is exclusive with Slug.
format: int64
type: integer
slug:
description: |-
Slug identifying the required reviewer. This field is exclusive with ID.
Slug will be resolved to the id during reconciliation.
type: string
type:
description: Type of the required reviewer. Currently
only Teams are supported.
enum:
- Team
type: string
required:
- type
type: object
x-kubernetes-validations:
- message: exactly one of the fields in [id slug] must
be set
rule: '[has(self.id),has(self.slug)].filter(x,x==true).size()
== 1'
required:
- reviewer
type: object
maxItems: 10
type: array
required:
- allowedMergeMethods
type: object
Expand Down