Skip to content

Provide an "Include" option to help dry up configs #785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mbainter opened this issue Mar 10, 2025 · 0 comments
Open

Provide an "Include" option to help dry up configs #785

mbainter opened this issue Mar 10, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@mbainter
Copy link

Prerequisites:

  • Is the functionality available in the GitHub UI?

n/a

  • Is the functionality available through the GitHub API?

n/a

New Feature

This was brought up in discussion in a previous issue, but that ended up taking a different direction.

As described there, sometimes there are commonalities between tech stacks across suborg definitions, which can result in a lot of duplication and thus drift. In that issue it was noted that being able to have multiple suborgs apply configurations has innate challenges because of how that data is processed.

It would be helpful to be able to have standardized configurations in separate files that could be imported, akin to say "frontend_labels.yml", "backend_rulesets.yml", "compliance_rulesets.yml", "jira_autolinks.yml", etc

Then, within suborgs, you could have something like:

suborgproperties:
  - Squad: BlueSquad

autolinks:
  - '!include safe-settings/snippets/jira_autolinks.yml' 

labels:
  - '!include safe-settings/snippets/frontend_labels.yml'
  - name: security
    color: CC0000

rulesets:
  - '!include safe-settings/snippets/compliance_rulesets.yml'
  - '!include safe-settings/snippets/bluesquad_rulesets.yml'
@mbainter mbainter added the enhancement New feature or request label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant