Allison reports on GitHub’s new features for repository custom properties, including GraphQL API management and robust URL type validation for improved organizational workflows.

GitHub Custom Repository Properties: GraphQL API and URL Type Enhancements

GitHub has introduced two new capabilities for custom repository properties, designed to make repository management and organization more scalable:

1. Manage Custom Properties via GraphQL

GitHub repositories can now have their custom properties created, updated, and deleted programmatically using the GraphQL API. This lets administrators and developers integrate property management into their automation routines and custom workflows.

  • Programmatic Access: Create, update, and delete repository properties using GraphQL queries and mutations.
  • Workflow Integration: Seamlessly add repository metadata management to CI/CD pipelines and DevOps automations.
  • Learn more about the GraphQL API for custom properties.
  • Note: Documentation updates for GraphQL may take up to 24 hours to become available.

2. New URL Property Type

There is now a built-in URL property type that provides automatic validation to ensure all property values are well-formed URLs. This feature makes it simpler to associate repositories with external resources:

  • Validated URLs: Ensures uniformity and prevents broken links by checking URL formatting.
  • Attach Resources: Easily link runbooks, dashboards, or documentation (such as the Microsoft Azure Kubernetes Fleet portal) directly to repositories.
  • Organization Consistency: Admins can manage property values across all repositories for standard governance.

For more information, check GitHub’s custom repository properties documentation.

Join the community discussion to provide feedback and ideas.

This post appeared first on “The GitHub Blog”. Read the entire article here