Repository Custom Properties Feedback #69914
Replies: 61 comments 110 replies
-
I was going to switch from topics to properties, but apparently you need to be an organization owner to set properties, while topics can be set by maintainers. It would be great to create a permission to set properties for maintainers and above. |
Beta Was this translation helpful? Give feedback.
-
The documentation does not provide many examples of actual use cases for custom properties. You set them up and then what? I guess you can search on them, and apparently you can use them for rulesets (the documentation is pretty vague though. What does it mean to "target" them?). More examples of applied use cases would help. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, i know the custom properties can be accessed via the REST API. Is it possible to access them via the GraphQL API? Thank you! |
Beta Was this translation helpful? Give feedback.
-
I suggest integrating custom properties with the We've been managing repository metadata with repository topics. Then we moved to custom props from topics but we need keep sync from custom props to topics for some cases. |
Beta Was this translation helpful? Give feedback.
-
I would like to use Custom Properties to say X devs are maintainers of this repository. To do that, I would need as Type Multi Select. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to view certain properties in the new organizational repository list alongside topics? A custom property could have a “show in repository list” setting. When enabled, the property would appear in the organizational repository list alongside topics. In other words, a colored label with the text “key=value” or “key:value” mixed in with the repo topics. We currently use topics to group our apps and would like to move to exclusively using custom properties. We just need it “visible at a glance” when browsing through our thousands of repositories to get a pulse on what’s happening across the company. |
Beta Was this translation helpful? Give feedback.
-
Are there any plans to include these properties as claims in the GitHub Actions OIDC access token? |
Beta Was this translation helpful? Give feedback.
-
It would be cool to filter in a github project on a repository property of an issue |
Beta Was this translation helpful? Give feedback.
-
awesome new feature. here is some additional functionality we would like to see: |
Beta Was this translation helpful? Give feedback.
-
The docs say that we can already filter by property: https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization#searching-and-filtering-repositories-by-custom-properties-values Is this premature? |
Beta Was this translation helpful? Give feedback.
-
Any chance of GraphQL support? Pretty please. |
Beta Was this translation helpful? Give feedback.
-
Why haven't I gotten the new feature preview? Is it only certain people on GitHub who get it? , this is an example of an image that has just been updated on GitHub |
Beta Was this translation helpful? Give feedback.
-
I would like to see property types have some modified scope. Meaning, that org admins and repo admins should control some properties vs others. We are seeing that the lack of the ability for repo admins to make changes prevents us from leaning on custom properties for informational things.. We have had to make a full framework to enable our developers but I do see potential to make custom properties even better by expanding how properties are managed. |
Beta Was this translation helpful? Give feedback.
-
Is there a reason why this is limited to organizations? I'm asking because I'd like to use them, but I'm not part of an organization where this would make sense, even though I have repositories not associated with any organization where I would use them. |
Beta Was this translation helpful? Give feedback.
-
This new custom properties feature is really nice, as organization owner would it be possible to choose if a property can be edited by a repository admin/maintainer. We would like to use the custom properties and rely on a repo admin/maintaniner to specify for example:
We have strong need of putting governance in place and providing a list of predefined value per property is what we are looking for. Thanks |
Beta Was this translation helpful? Give feedback.
-
Earlier repo admins will be able to see custom properties by going to the URL https://github.com/{org_name}/{repo_name}/settings/custom-properties/, but when I check now, it is throwing a 404 error. Is it a bug or have some changes been made? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this is a bug, or just an undocumented change but is anyone running into recent issues with permissions for the /repos/{owner}/{repo}/properties/values endpoint? It seems at some point between 27th November 17:00 and 28th November 11:00 (UTC) the permissions changed for this endpoint. Previously a GitHub app with repository contents read and repository metadata read could access the endpoint, now the app gets 403 though the permissions have not changed. It is worth noting the response header 'x-accepted-github-permissions' is now 'repository_custom_properties=read'; I'm not sure if this has changed or not, unfortunately I did not check it before. Just to be sure, I have tested the endpoint with an app that has all the available repository and organisation permissions, read and write or admin where possible. Some details on the request:
And the response:
|
Beta Was this translation helpful? Give feedback.
-
Hi Team, I noticed that when I tried to hit the Custom Property API PATCH https://api.github.com/orgs/{org name}/properties/values, I got a 204 status code even though the repo was not present. I believe that if the repo is not present, we should get a 422 Unprocessable Entity status code. Can someone please look into this and let me know if this is a bug? |
Beta Was this translation helpful? Give feedback.
-
Are properties preserved when transferring repositories within an enterprise, provided a property with the same name and data type exists in that target organization? |
Beta Was this translation helpful? Give feedback.
-
Hey, When creating a ruleset that targets custom properties, no repositories are being scoped for the target. Is this a known issue? |
Beta Was this translation helpful? Give feedback.
-
Old code search, can it be restored, someone please reply |
Beta Was this translation helpful? Give feedback.
-
This is great to see and is set to relieve one of my major audit pain-points, so first and most importantly: thank you!
Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to add an option in the (beta) repository filter list to allow repository properties that are blank to be selected? A common use case for us is to list repositories missing a value. |
Beta Was this translation helpful? Give feedback.
-
It seems that currently we can modify custom properties by calling API in a batch. Is that possible that an user can modify custom properties by GUI? That will make things easier as I expected. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hey, I think i found a small bug. When you are in an org repo page (Mozilla's for example - https://github.com/orgs/mozilla/repositories), toggle one of the following to a non-default value: When you toggle it back, the param question mark is still present: (Using the latest version of Firefox on Windows 11) |
Beta Was this translation helpful? Give feedback.
-
On the minor feedback side, the repository-level user interface for custom properties that is shown to users includes a link to the org-level custom properties experience, making an assumption that they may be an org owner. As a non-org owner, I then get a 404 when browsing to the link. Screenshot of the area I am referring to, for example, while at https://github.com/contosoenterprise/onboarding/settings/custom-properties, the link goes to https://github.com/organizations/contosoenterprise/settings/custom-properties, a 404 for me as a non-owner. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Would love to be able to get a "Group by" in the repository view, where you can group by a Custom property. Similar to what's possible in Projects. |
Beta Was this translation helpful? Give feedback.
-
Should we be able to use the It would be great to be able to do this so I can batch edit the security settings of repositories with a particular property value. |
Beta Was this translation helpful? Give feedback.
-
I’m excited to announce that Repository Custom Properties are GA! 🎉
Starting today, organization administrators can create custom properties to enrich repositories with valuable information. Using these properties, you can dynamically target repository rules to apply protections on just your production repositories or to a business unit or any other way you want to classify your repositories.
Checkout the docs to learn more
❔ Still have questions?
Beta Was this translation helpful? Give feedback.
All reactions