Improvement

December 9, 20251 Minute Read

Repository custom properties: GraphQL API and URL type

We’ve added two new capabilities to GitHub custom repository properties that make it easier to organize and manage repositories at scale.

Manage custom properties via GraphQL

You can now manage custom repository properties using the GraphQL API. This gives you programmatic access to create, update, and delete custom properties with your existing workflows and automation tools.

To learn more, see the GraphQL API documentation for custom properties. Note: there is a delay in publishing GraphQL documentation and may take 24 hours to go live.

New URL property type

The GitHub "New property" interface showing the configuration for a custom property named "AzureK8Fleet" with the type set to URL. The form includes a default value linking directly to the Microsoft Azure Kubernetes Fleet portal.

Custom repository properties now support a URL type with built-in validation. This makes it easier for admins to attach relevant resources to repositories like runbooks, monitoring dashboards, or external documentation without worrying about invalid URLs.

When you create a URL property, GitHub automatically validates that values are properly formatted URLs, ensuring consistency across your organization.

For more information, see our documentation about managing custom repository properties.

Share your feedback in our community discussion.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Repository custom properties: GraphQL API and URL type - GitHub Changelog