From feb6d5acfa03faa0062b6e167e16c9de241fc09d Mon Sep 17 00:00:00 2001 From: Cshandesign-png <271410710+Cshandesign-png@users.noreply.github.com> Date: Wed, 1 Apr 2026 13:46:14 +0800 Subject: [PATCH] docs: link github_branch_default in repository docs --- website/docs/r/repository.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/repository.html.markdown b/website/docs/r/repository.html.markdown index 157fd01caa..6fac9fa214 100644 --- a/website/docs/r/repository.html.markdown +++ b/website/docs/r/repository.html.markdown @@ -122,7 +122,7 @@ The following arguments are supported: * `license_template` - (Optional) Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0". -* `default_branch` - (Optional) (Deprecated: Use `github_branch_default` resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, +* `default_branch` - (Optional) (Deprecated: Use [`github_branch_default`](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_default) resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the initial repository creation and create the target branch inside of the repository prior to setting this attribute.