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 Request] Add a data source for retrieving labels for repository. #1130

Closed
galargh opened this issue Apr 28, 2022 · 2 comments · Fixed by #1126
Closed

[Feature Request] Add a data source for retrieving labels for repository. #1130

galargh opened this issue Apr 28, 2022 · 2 comments · Fixed by #1126
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request

Comments

@galargh
Copy link
Contributor

galargh commented Apr 28, 2022

It'd be brilliant if it was possible to retrieve a list of all the labels for a repository through a GitHub provider data source.

I'd expect such a data source to return:

{
  "id": "",
  "labels": [
    {
      "name": "",
      "color": "",
      "description": "",
      "url": ""
    }, ...
  ]
}

All the arguments required to perform such an action are: repository.

GitHub REST API allows such an operation: https://docs.github.com/en/rest/issues/labels#list-labels-for-a-repository

References

@github-actions
Copy link

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@github-actions github-actions bot added the Status: Stale Used by stalebot to clean house label Jan 24, 2023
@galargh
Copy link
Contributor Author

galargh commented Jan 24, 2023

This issue is very much still unresolved.

@github-actions github-actions bot removed the Status: Stale Used by stalebot to clean house label Jan 25, 2023
@kfcampbell kfcampbell added Type: Feature New feature or request Status: Up for grabs Issues that are ready to be worked on by anyone Priority: Normal labels Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants