GitHubRefreshAppConfig#
- pydantic settings mobu.config.GitHubRefreshAppConfig#
Configuration for GitHub refresh app functionality.
- Parameters:
_nested_model_default_partial_update (
bool|None, default:None)_env_file (
Union[Path,str,Sequence[Union[Path,str]],None], default:PosixPath('.'))_cli_parse_args (
bool|list[str] |tuple[str,...] |None, default:None)_cli_settings_source (
Optional[CliSettingsSource[Any]], default:None)_cli_shortcuts (
Mapping[str,str|list[str]] |None, 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 0x7fbf7faea8e0>
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.