GitHubRefreshAppConfig#
- pydantic settings mobu.config.GitHubRefreshAppConfig#
Configuration for GitHub refresh app functionality.
- Parameters:
_nested_model_default_partial_update (
Optional[bool], default:None)_env_file (
Union[Path,str,Sequence[Union[Path,str]],None], default:PosixPath('.'))_cli_parse_args (
Union[bool,list[str],tuple[str,...],None], default:None)_cli_settings_source (
Optional[CliSettingsSource[Any]], default:None)_cli_use_class_docs_for_groups (
Optional[bool], default:None)_cli_kebab_case (
Union[bool,Literal['all','no_enums'],None], default:None)_cli_shortcuts (
Optional[Mapping[str,Union[str,list[str]]]], default:None)_secrets_dir (
Union[Path,str,Sequence[Union[Path,str]],None], default:None)values (
Any)
Show JSON schema
{ "title": "GitHubRefreshAppConfig", "description": "Configuration for GitHub refresh app functionality.", "type": "object", "properties": { "MOBU_GITHUB_REFRESH_APP_WEBHOOK_SECRET": { "description": "Generated when the GitHub app was set up. You can find this in 1Password; check the Phalanx mobu values for more details.", "title": "Github refresh app webhook secret", "type": "string" }, "acceptedGithubOrgs": { "default": [], "description": "Any webhook payload request from a repo in an organization not in this list will get a 403 response.", "items": { "type": "string" }, "title": "Allowed GitHub organizations.", "type": "array" } }, "additionalProperties": false, "required": [ "MOBU_GITHUB_REFRESH_APP_WEBHOOK_SECRET" ] }
- Config:
alias_generator: function = <function to_camel at 0x7f1b0e45ecf0>
validate_by_name: bool = True
- Fields:
- field accepted_github_orgs: list[str] = [] (alias 'acceptedGithubOrgs')#
Any webhook payload request from a repo in an organization not in this list will get a 403 response.
- field webhook_secret: str [Required] (alias 'webhookSecret')#
Generated when the GitHub app was set up. You can find this in 1Password; check the Phalanx mobu values for more details.