You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/d/repository.html.markdown
+61-61Lines changed: 61 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,110 +21,110 @@ data "github_repository" "example" {
21
21
22
22
The following arguments are supported:
23
23
24
-
*`name` - (Optional) The name of the repository.
24
+
-`name` - (Optional) The name of the repository.
25
25
26
-
*`full_name` - (Optional) Full name of the repository (in `org/name` format).
26
+
-`full_name` - (Optional) Full name of the repository (in `org/name` format).
27
27
28
28
## Attributes Reference
29
29
30
-
*`node_id` - the Node ID of the repository.
30
+
-`node_id` - the Node ID of the repository.
31
31
32
-
*`description` - A description of the repository.
32
+
-`description` - A description of the repository.
33
33
34
-
*`homepage_url` - URL of a page describing the project.
34
+
-`homepage_url` - URL of a page describing the project.
35
35
36
-
*`private` - Whether the repository is private.
36
+
-`private` - Whether the repository is private.
37
37
38
-
*`visibility` - Whether the repository is public, private or internal.
38
+
-`visibility` - Whether the repository is public, private or internal.
39
39
40
-
*`has_issues` - Whether the repository has GitHub Issues enabled.
40
+
-`has_issues` - Whether the repository has GitHub Issues enabled.
41
41
42
-
*`has_discussions` - Whether the repository has GitHub Discussions enabled.
42
+
-`has_discussions` - Whether the repository has GitHub Discussions enabled.
43
43
44
-
*`has_projects` - Whether the repository has the GitHub Projects enabled.
44
+
-`has_projects` - Whether the repository has the GitHub Projects enabled.
45
45
46
-
*`has_wiki` - Whether the repository has the GitHub Wiki enabled.
46
+
-`has_wiki` - Whether the repository has the GitHub Wiki enabled.
47
47
48
-
*`is_template` - Whether the repository is a template repository.
48
+
-`is_template` - Whether the repository is a template repository.
49
49
50
-
*`fork` - Whether the repository is a fork.
50
+
-`fork` - Whether the repository is a fork.
51
51
52
-
*`allow_merge_commit` - Whether the repository allows merge commits.
52
+
-`allow_merge_commit` - Whether the repository allows merge commits.
53
53
54
-
*`allow_squash_merge` - Whether the repository allows squash merges.
54
+
-`allow_squash_merge` - Whether the repository allows squash merges.
55
55
56
-
*`allow_rebase_merge` - Whether the repository allows rebase merges.
56
+
-`allow_rebase_merge` - Whether the repository allows rebase merges.
57
57
58
-
*`allow_auto_merge` - Whether the repository allows auto-merging pull requests.
58
+
-`allow_auto_merge` - Whether the repository allows auto-merging pull requests.
59
59
60
-
*`allow_forking` - Whether the repository allows private forking; this is only relevant if the repository is owned by an organization and is private or internal.
60
+
-`allow_forking` - Whether the repository allows private forking; this is only relevant if the repository is owned by an organization and is private or internal.
61
61
62
-
*`squash_merge_commit_title` - The default value for a squash merge commit title.
62
+
-`squash_merge_commit_title` - The default value for a squash merge commit title.
63
63
64
-
*`squash_merge_commit_message` - The default value for a squash merge commit message.
64
+
-`squash_merge_commit_message` - The default value for a squash merge commit message.
65
65
66
-
*`merge_commit_title` - The default value for a merge commit title.
66
+
-`merge_commit_title` - The default value for a merge commit title.
67
67
68
-
*`merge_commit_message` - The default value for a merge commit message.
68
+
-`merge_commit_message` - The default value for a merge commit message.
69
69
70
-
*`has_downloads` - (**DEPRECATED**) Whether the repository has Downloads feature enabled. This attribute is no longer in use, but it hasn't been removed yet. It will be removed in a future version. See [this discussion](https://github.com/orgs/community/discussions/102145#discussioncomment-8351756).
70
+
-`has_downloads` - (**DEPRECATED**) Whether the repository has Downloads feature enabled. This attribute is no longer in use, but it hasn't been removed yet. It will be removed in a future version. See [this discussion](https://github.com/orgs/community/discussions/102145#discussioncomment-8351756).
71
71
72
-
*`default_branch` - The name of the default branch of the repository.
72
+
-`default_branch` - The name of the default branch of the repository.
73
73
74
-
*`primary_language` - The primary language used in the repository.
74
+
-`primary_language` - The primary language used in the repository.
75
75
76
-
*`archived` - Whether the repository is archived.
76
+
-`archived` - Whether the repository is archived.
77
77
78
-
*`pages` - (**DEPRECATED**) The repository's GitHub Pages configuration. Use the `github_repository_pages` data source instead. This field will be removed in a future version.
78
+
-`pages` - (**DEPRECATED**) The repository's GitHub Pages configuration. Use the `github_repository_pages` data source instead. This field will be removed in a future version.
79
79
80
-
*`topics` - The list of topics of the repository.
80
+
-`topics` - The list of topics of the repository.
81
81
82
-
*`template` - The repository source template configuration.
82
+
-`template` - The repository source template configuration.
83
83
84
-
*`html_url` - URL to the repository on the web.
84
+
-`html_url` - URL to the repository on the web.
85
85
86
-
*`ssh_clone_url` - URL that can be provided to `git clone` to clone the repository via SSH.
86
+
-`ssh_clone_url` - URL that can be provided to `git clone` to clone the repository via SSH.
87
87
88
-
*`http_clone_url` - URL that can be provided to `git clone` to clone the repository via HTTPS.
88
+
-`http_clone_url` - URL that can be provided to `git clone` to clone the repository via HTTPS.
89
89
90
-
*`git_clone_url` - URL that can be provided to `git clone` to clone the repository anonymously via the git protocol.
90
+
-`git_clone_url` - URL that can be provided to `git clone` to clone the repository anonymously via the git protocol.
91
91
92
-
*`svn_url` - URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation.
92
+
-`svn_url` - URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation.
93
93
94
-
*`node_id` - GraphQL global node id for use with v4 API
94
+
-`node_id` - GraphQL global node id for use with v4 API
95
95
96
-
*`repo_id` - GitHub ID for the repository
96
+
-`repo_id` - GitHub ID for the repository
97
97
98
-
*`repository_license` - An Array of GitHub repository licenses. Each `repository_license` block consists of the fields documented below.
98
+
-`repository_license` - An Array of GitHub repository licenses. Each `repository_license` block consists of the fields documented below.
99
99
100
100
___
101
101
102
102
The `repository_license` block consists of:
103
103
104
-
*`content` - Content of the license file, encoded by encoding scheme mentioned below.
105
-
*`download_url` - The URL to download the raw content of the license file.
106
-
*`encoding` - The encoding used for the content (e.g., "base64").
107
-
*`git_url` - The URL to access information about the license file as a Git blob.
108
-
*`html_url` - The URL to view the license file on GitHub.
109
-
*`license` - `license` block consists of the fields documented below.
110
-
*`name` - The name of the license file (e.g., "LICENSE").
111
-
*`path` - The path to the license file within the repository.
112
-
*`sha` - The SHA hash of the license file.
113
-
*`size` - The size of the license file in bytes.
114
-
*`type` - The type of the content, (e.g., "file").
115
-
*`url` - The URL to access information about the license file on GitHub.
104
+
-`content` - Content of the license file, encoded by encoding scheme mentioned below.
105
+
-`download_url` - The URL to download the raw content of the license file.
106
+
-`encoding` - The encoding used for the content (e.g., "base64").
107
+
-`git_url` - The URL to access information about the license file as a Git blob.
108
+
-`html_url` - The URL to view the license file on GitHub.
109
+
-`license` - `license` block consists of the fields documented below.
110
+
-`name` - The name of the license file (e.g., "LICENSE").
111
+
-`path` - The path to the license file within the repository.
112
+
-`sha` - The SHA hash of the license file.
113
+
-`size` - The size of the license file in bytes.
114
+
-`type` - The type of the content, (e.g., "file").
115
+
-`url` - The URL to access information about the license file on GitHub.
116
116
117
117
The `license` block consists of:
118
118
119
-
*`body` - The text of the license.
120
-
*`conditions` - Conditions associated with the license.
121
-
*`description` - A description of the license.
122
-
*`featured` - Indicates if the license is featured.
123
-
*`html_url` - The URL to view the license details on GitHub.
124
-
*`implementation` - Details about the implementation of the license.
125
-
*`key` - A key representing the license type (e.g., "apache-2.0").
126
-
*`limitations` - Limitations associated with the license.
127
-
*`name` - The name of the license (e.g., "Apache License 2.0").
128
-
*`permissions` - Permissions associated with the license.
129
-
*`spdx_id` - The SPDX identifier for the license (e.g., "Apache-2.0").
130
-
*`url` - The URL to access information about the license on GitHub.
119
+
-`body` - The text of the license.
120
+
-`conditions` - Conditions associated with the license.
121
+
-`description` - A description of the license.
122
+
-`featured` - Indicates if the license is featured.
123
+
-`html_url` - The URL to view the license details on GitHub.
124
+
-`implementation` - Details about the implementation of the license.
125
+
-`key` - A key representing the license type (e.g., "apache-2.0").
126
+
-`limitations` - Limitations associated with the license.
127
+
-`name` - The name of the license (e.g., "Apache License 2.0").
128
+
-`permissions` - Permissions associated with the license.
129
+
-`spdx_id` - The SPDX identifier for the license (e.g., "Apache-2.0").
130
+
-`url` - The URL to access information about the license on GitHub.
0 commit comments