Use this data source to retrieve information about a specific GitHub milestone in a repository.
data "github_repository_milestone" "example" {
owner = "example-owner"
repository = "example-repository"
number = 1
}
owner
- (Required) Owner of the repository.
repository
- (Required) Name of the repository to retrieve the milestone from.
number
- (Required) The number of the milestone.
description
- Description of the milestone.due_date
- The milestone due date (in ISO-8601 yyyy-mm-dd
format). state
- State of the milestone.title
- Title of the milestone.