(rawYaml: string)
| 34 | } |
| 35 | |
| 36 | export function parsePullApproveYaml(rawYaml: string): PullApproveConfig { |
| 37 | return parseYaml(rawYaml, {merge: true}) as PullApproveConfig; |
| 38 | } |
| 39 | |
| 40 | /** Parses all of the groups defined in the pullapprove yaml. */ |
| 41 | export function getGroupsFromYaml(pullApproveYamlRaw: string): PullApproveGroup[] { |