Skip to content
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

Feature: Declare parent Team #17

Open
joshua-cannon-techlabs opened this issue Sep 22, 2021 · 2 comments
Open

Feature: Declare parent Team #17

joshua-cannon-techlabs opened this issue Sep 22, 2021 · 2 comments

Comments

@joshua-cannon-techlabs
Copy link

👋

Love the library, as it reduces the amount of work we do in the UI and allows us a nice paper-trail for teams changing.

We have teams which are parented under an umbrella team for permissions reasons. When a new team is created via the script it'd be nice if we wouldn't have to go update the team to use the right parent team.

As far as implementation goes I think you'd need to:

  • Check if the team is in the metadata and needs creating and create it first
  • Otherwise check if it exists (and error if it doesn't)

This does introduce an ordering in how teams are created, but that should be relatively easy to code.

Thanks!

@rmacklin
Copy link
Owner

Glad to hear this action is useful for your organization! (BTW, I'm curious what you searched to discover it.)

We haven't been using parent teams in my organization, but I can see how this would be useful in that setup. Are you interested in contributing this feature?

@joshua-cannon-techlabs
Copy link
Author

BTW, I'm curious what you searched to discover it

I think I just searched the Marketplace. https://github.com/marketplace?type=actions&query=github+teams

I try and do that before I go off and implement something myself.

And I should say so far it's worked as expected 🎉 . You've saved me a lot of manual UI work!

Are you interested in contributing this feature?

I am, but we're still in the process of defining our process for open-source contributions, so it'd likely be a few weeks at least before you'd see a PR from me 😢 . If you (or someone else) implements it in the meantime, I wouldn't mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants