config

Look up configuration values from the managing minion.

Added in version 1.1.0.

Repositories have no minion configuration of their own — GitHub profiles and related settings live on the managing minion. The stock state execution module (re-exported for this resource type) relies on config.get/config.option, so this override provides them: it delegates to the managing minion’s loader when the __minion__ escape hatch is packed (state-engine context) and falls back to the managing minion’s opts otherwise (the minion’s dispatch-context per-type loaders do not pack __minion__).

saltext.github.resources.github.modules.config.get(key, default='', delimiter=':', omit_opts=False, **kwargs)[source]

Look up a config value on the managing minion. See config.get for details.

CLI Example:

salt 'my-org/my-repo' config.get state_verbose
saltext.github.resources.github.modules.config.option(value, default='', omit_opts=False, omit_all=False, **kwargs)[source]

Return the value of a specific config option on the managing minion. See config.option for details.

CLI Example:

salt 'my-org/my-repo' config.option state_queue