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

feat: Add a data source for labels. #1126

Merged
merged 5 commits into from
Apr 10, 2023

Conversation

galargh
Copy link
Contributor

@galargh galargh commented Apr 27, 2022

Resolves #1130

Description

This PR adds a data source for labels. Given a repository name, it returns a list of labels associated with that repository.

I added a markdown entry which describes how to configure the new data source.

Testing
  • TF_ACC=1 go test -v ./... -run ^TestAccGithubIssueLabelsDataSource

@galargh galargh changed the title Add a data source for labels. feat: Add a data source for labels. Apr 4, 2023
Copy link
Member

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kfcampbell kfcampbell merged commit 50447ae into integrations:main Apr 10, 2023
avidspartan1 pushed a commit to avidspartan1/terraform-provider-github that referenced this pull request Feb 5, 2024
* Add a data source for labels.

* chore: go fmt

* fix: github client import in the label data source

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
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

Successfully merging this pull request may close these issues.

[Feature Request] Add a data source for retrieving labels for repository.
2 participants