MCPcopy Create free account
hub / github.com/github/gh-aw / parseClosePullRequestsConfig

Method parseClosePullRequestsConfig

pkg/workflow/close_entity_helpers.go:218–225  ·  view source on GitHub ↗

parseClosePullRequestsConfig handles close-pull-request configuration

(outputMap map[string]any)

Source from the content-addressed store, hash-verified

216
217// parseClosePullRequestsConfig handles close-pull-request configuration
218func (c *Compiler) parseClosePullRequestsConfig(outputMap map[string]any) *ClosePullRequestsConfig {
219 def := closeEntityRegistry[1] // pull request
220 params := CloseEntityJobParams{
221 EntityType: def.EntityType,
222 ConfigKey: def.ConfigKey,
223 }
224 return c.parseCloseEntityConfig(outputMap, params, def.Logger)
225}
226
227// parseCloseDiscussionsConfig handles close-discussion configuration
228func (c *Compiler) parseCloseDiscussionsConfig(outputMap map[string]any) *CloseDiscussionsConfig {

Callers 1

Calls 1

Tested by

no test coverage detected