GitHubRefreshAppConfig#

pydantic settings mobu.config.GitHubRefreshAppConfig#

Configuration for GitHub refresh app functionality.

Parameters:

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.