github_repository_file

This data source allows you to read files within a GitHub repository.

Example Usage

data "github_repository_file" "foo" {
  repository          = github_repository.foo.name
  branch              = "main"
  file                = ".gitignore"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following additional attributes are exported: