Skip to content

Commit 60372ff

Browse files
jatcod3rJullian PepitoDevelopmentCats
authored
fix(git-clone): Update README.md (#448)
Changes `coder_git_auth` to `coder_external_auth` in README ## Description <!-- Briefly describe what this PR does and why --> ## Type of Change - [ ] New module - [ ] Bug fix - [ ] Feature/enhancement - [X] Documentation - [ ] Other ## Module Information <!-- Delete this section if not applicable --> **Path:** `registry/coder/modules/git-clone` **New version:** `v1.1.2` **Breaking change:** [ ] Yes [X] No ## Testing & Validation - [ ] Tests pass (`bun test`) - [ ] Code formatted (`bun run fmt`) - [ ] Changes tested locally ## Related Issues <!-- Link related issues or write "None" if not applicable --> --------- Co-authored-by: Jullian Pepito <[email protected]> Co-authored-by: DevCats <[email protected]>
1 parent f28bcdb commit 60372ff

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

registry/coder/modules/git-clone/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This module allows you to automatically clone a repository by URL and skip if it
1414
module "git-clone" {
1515
count = data.coder_workspace.me.start_count
1616
source = "registry.coder.com/coder/git-clone/coder"
17-
version = "1.1.1"
17+
version = "1.1.2"
1818
agent_id = coder_agent.example.id
1919
url = "https://github.com/coder/coder"
2020
}
@@ -28,7 +28,7 @@ module "git-clone" {
2828
module "git-clone" {
2929
count = data.coder_workspace.me.start_count
3030
source = "registry.coder.com/coder/git-clone/coder"
31-
version = "1.1.1"
31+
version = "1.1.2"
3232
agent_id = coder_agent.example.id
3333
url = "https://github.com/coder/coder"
3434
base_dir = "~/projects/coder"
@@ -43,12 +43,12 @@ To use with [Git Authentication](https://coder.com/docs/v2/latest/admin/git-prov
4343
module "git-clone" {
4444
count = data.coder_workspace.me.start_count
4545
source = "registry.coder.com/coder/git-clone/coder"
46-
version = "1.1.1"
46+
version = "1.1.2"
4747
agent_id = coder_agent.example.id
4848
url = "https://github.com/coder/coder"
4949
}
5050
51-
data "coder_git_auth" "github" {
51+
data "coder_external_auth" "github" {
5252
id = "github"
5353
}
5454
```
@@ -69,7 +69,7 @@ data "coder_parameter" "git_repo" {
6969
module "git_clone" {
7070
count = data.coder_workspace.me.start_count
7171
source = "registry.coder.com/coder/git-clone/coder"
72-
version = "1.1.1"
72+
version = "1.1.2"
7373
agent_id = coder_agent.example.id
7474
url = data.coder_parameter.git_repo.value
7575
}
@@ -103,7 +103,7 @@ Configuring `git-clone` for a self-hosted GitHub Enterprise Server running at `g
103103
module "git-clone" {
104104
count = data.coder_workspace.me.start_count
105105
source = "registry.coder.com/coder/git-clone/coder"
106-
version = "1.1.1"
106+
version = "1.1.2"
107107
agent_id = coder_agent.example.id
108108
url = "https://github.example.com/coder/coder/tree/feat/example"
109109
git_providers = {
@@ -122,7 +122,7 @@ To GitLab clone with a specific branch like `feat/example`
122122
module "git-clone" {
123123
count = data.coder_workspace.me.start_count
124124
source = "registry.coder.com/coder/git-clone/coder"
125-
version = "1.1.1"
125+
version = "1.1.2"
126126
agent_id = coder_agent.example.id
127127
url = "https://gitlab.com/coder/coder/-/tree/feat/example"
128128
}
@@ -134,7 +134,7 @@ Configuring `git-clone` for a self-hosted GitLab running at `gitlab.example.com`
134134
module "git-clone" {
135135
count = data.coder_workspace.me.start_count
136136
source = "registry.coder.com/coder/git-clone/coder"
137-
version = "1.1.1"
137+
version = "1.1.2"
138138
agent_id = coder_agent.example.id
139139
url = "https://gitlab.example.com/coder/coder/-/tree/feat/example"
140140
git_providers = {
@@ -155,7 +155,7 @@ For example, to clone the `feat/example` branch:
155155
module "git-clone" {
156156
count = data.coder_workspace.me.start_count
157157
source = "registry.coder.com/coder/git-clone/coder"
158-
version = "1.1.1"
158+
version = "1.1.2"
159159
agent_id = coder_agent.example.id
160160
url = "https://github.com/coder/coder"
161161
branch_name = "feat/example"
@@ -173,7 +173,7 @@ For example, this will clone into the `~/projects/coder/coder-dev` folder:
173173
module "git-clone" {
174174
count = data.coder_workspace.me.start_count
175175
source = "registry.coder.com/coder/git-clone/coder"
176-
version = "1.1.1"
176+
version = "1.1.2"
177177
agent_id = coder_agent.example.id
178178
url = "https://github.com/coder/coder"
179179
folder_name = "coder-dev"

0 commit comments

Comments
 (0)