UtilitiesΒΆ

utils

utils.gh

Connection library for GitHub.

utils.gh.actions

Operations on GitHub Actions repository secrets and settings.

utils.gh.cache

Optional persistent cross-process cache for slow-changing GitHub API data, backed by the minion's salt.cache (cachedir).

utils.gh.client

Shared plumbing for talking to the GitHub v3 API via PyGithub.

utils.gh.deploy_keys

Operations on GitHub repository deploy keys.

utils.gh.environments

Operations on GitHub repository (deployment) environments.

utils.gh.exceptions

Exceptions raised by the GitHub API helper modules.

utils.gh.grains_files

Custom repository grains sourced from in-repo YAML/JSON files, as declared via the resource:grains_files key of the github resource type.

utils.gh.issues

Operations on GitHub repository issues.

utils.gh.labels

Operations on GitHub repository (issue) labels.

utils.gh.members

Operations on GitHub organization members.

utils.gh.milestones

Operations on GitHub repository milestones.

utils.gh.pages

Operations on GitHub Pages sites of repositories.

utils.gh.profile

Resolution of Salt profile configuration into GitHub connections, shared between the github, github_org and github_repo execution modules as well as the github resource type.

utils.gh.pulls

Operations on GitHub repository pull requests.

utils.gh.repos

Operations on GitHub repositories.

utils.gh.resource

Shared plumbing for the github resource type's execution and state modules.

utils.gh.rulesets

Operations on GitHub repository and organization rulesets.

utils.gh.statecores

Shared cores implementing the repository-scoped states: the full inspect -> test-gate -> apply flow, including change reporting.

utils.gh.statecores.actions

State cores managing repository Actions secrets and workflow permissions.

utils.gh.statecores.deploy_keys

State core managing repository deploy keys.

utils.gh.statecores.environments

State core managing repository (deployment) environments.

utils.gh.statecores.labels

State core managing repository labels.

utils.gh.statecores.pages

State core managing a repository's GitHub Pages site.

utils.gh.statecores.repo

State core managing a repository's settings and team associations.

utils.gh.statecores.rulesets

State core managing repository rulesets.

utils.gh.teams

Operations on GitHub organization teams.

utils.gh.users

Operations on arbitrary GitHub user accounts, independent of any organization membership.