github / safe-settings

ISC License
561 stars 137 forks source link

Ability to create suborgs using custom properties. #624

Closed decyjphr closed 1 month ago

decyjphr commented 2 months ago

Added support to create definitions of suborgs based on custom properties.

You can use custom properties to create a suborg in the .github/suborgs/<suborg>.yml as follows:

suborgproperties:     
- prop1: true
- prop2: frontend

...

In order for this to work, the app has to be given organization_custom_properties: admin permissions and it has to listen to custom_property_values event.