Use this data source to retrieve the labels for a given repository.
data "github_labels" "test" {
repository = "example_repository"
}
repository
- (Required) The name of the repository.labels
- The list of this repository's labels. Each element of labels
has the following attributes:
name
- The name of the label.color
- The hexadecimal color code for the label, without the leading #.description
- A short description of the label.url
- The URL of the label.