# v1alpha1SCMProviderGeneratorGithub

Type: object

SCMProviderGeneratorGithub defines connection info specific to GitHub.

Schema: [v1alpha1SCMProviderGeneratorGithub](https://sourcey-argocd.pages.dev/api/models/v1alpha1scmprovidergeneratorgithub/index.md)

- `allBranches` (optional)
  Type: boolean
  
  Scan all branches instead of just the default branch.

- `api` (optional)
  Type: string
  
  The GitHub API URL to talk to. If blank, use https://api.github.com/.

- `appSecretName` (optional)
  Type: string
  
  AppSecretName is a reference to a GitHub App repo-creds secret.

- `excludeArchivedRepos` (optional)
  Type: boolean
  
  Exclude repositories that are archived.

- `organization` (optional)
  Type: string
  
  GitHub org to scan. Required.

- `tokenRef` (optional)
  Reference: [v1alpha1SecretRef](https://sourcey-argocd.pages.dev/api/models/v1alpha1secretref/index.md); Type: object
  
  SecretRef struct for a reference to a secret key.