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

Can this work with organization teams instead of having to specify individuals? #199

Open
davereid opened this issue May 8, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@davereid
Copy link

davereid commented May 8, 2023

For example, if I'm a member of a 'alpacas' team under my Github organization 'animals', I'd like to auto-label based on that like the following:

team-animals:
  - '@animals/alpacas-team`

Is this supported? I would assume it needs permission to read the organization, which doesn't seem to be supported by the permissions schema of Github workflows.

Related: https://github.com/tspascoal/get-user-teams-membership

@JulienKode
Copy link
Owner

Hi @davereid

Thanks for this suggestion this is not supported but this is a great idea of improvement

@JulienKode JulienKode added the enhancement New feature or request label May 10, 2023
@eloisetaylor5693
Copy link

This would be really useful

@nachiketdhamankar
Copy link

I think there's something similar already - https://github.com/marketplace/actions/team-label-action

@JulienKode JulienKode added the good first issue Good for newcomers label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants