GitHub
Artifact repositorygithub
Hosted Git repositories with public, private and internal visibility and optional branch protection.
- Provider
- default
- Category
- Data
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| artifactType | enum | package | source | generic | yes | — | ▸ source |
| branchProtection | boolean | — | no | false | inherited |
| hostingModel | enum | github-com | enterprise-cloud | enterprise-server | no | github-com | inherited |
| immutableVersions | boolean | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ true |
| retentionDays | integer | — | no | — | inherited |
| upstreamProxy | boolean | — | no | false | ▸ false |
| visibility | enum | private | public | no | — | inherited |
| visibilityLevel | enum | public | private | internal | no | — | inherited |
| vulnerabilityScanning | boolean | — | no | — | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "github", component: "github" }AWS CodeArtifactaws-codeartifactAWS CodeCommitaws-codecommitAmazon SageMaker Model Registryaws-sagemaker-model-registryAWS Serverless Application Repositoryaws-serverless-application-repositoryAWS Service Catalogaws-service-catalogAzure Artifactsazure-artifactsAzure Compute Galleryazure-compute-galleryAzure Reposazure-reposCloudflare Artifactscloudflare-artifactsGeneric artifact repositoryartifact-repositoryJFrog ArtifactoryartifactoryBitbucketbitbucketCivitaicivitaiForgejoforgejoGiteagiteaGitHub Packagesgithub-packagesGitLabgitlabHugging Face Hubhugging-face-hubSonatype Nexus RepositorynexusApache SubversionsubversionVerdaccioverdaccioCloud Source Repositoriesgoogle-cloud-source-repositoriesFirebase App Distributiongoogle-firebase-app-distributionSecure Source Managergoogle-secure-source-managerVertex AI Model Registrygoogle-vertex-ai-model-registryOCI Artifact Registryoci-artifact-registryOCI Data Science Model Catalogoci-data-science-model-catalogOCI DevOps Code Repositoryoci-devops-code-repositoryOCI Service Catalogoci-service-catalogOpenStack Glanceopenstack-glance
# yaml-language-server: $schema=../../schema/component.schema.json # GitHub: hosted Git source repositories. "About repositories" gives three visibility levels - public, # accessible to everyone on the internet, private, limited to people you share access with, and internal # for an enterprise account - and treats branch protection as rules an administrator adds afterwards. schemaVersion: "1" type: "component" id: "github" kind: "artifact-repository" provider: "default" docs: "https://docs.github.com/en/repositories/creating-and-managing-repositories/about-repositories" defaults: artifactType: "source" managed: true upstreamProxy: false properties: visibilityLevel: type: "enum" values: ["public", "private", "internal"] hostingModel: type: "enum" values: ["github-com", "enterprise-cloud", "enterprise-server"] default: "github-com" branchProtection: type: "boolean" default: false