Skip to content

Commit 0897b93

Browse files
authored
fix(autodiscovery: golang parameter table) (#2099)
* fix(autodiscovery: golang parameter table) Signed-off-by: Olblak <me@olblak.com> * chore: rename golang/gomod to golang autodiscovery plugin --------- Signed-off-by: Olblak <me@olblak.com>
1 parent 4425bfd commit 0897b93

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

assets/code_example/docs/plugins/autodiscovery/golang/updatecli.d/goonly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ autodiscovery:
2121
scmid: default
2222
actionid: default
2323
crawlers:
24-
golang/gomod:
24+
golang:
2525
versionfilter:
2626
kind: semver
2727
pattern: minor

assets/code_example/docs/plugins/autodiscovery/golang/updatecli.d/patchonly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ autodiscovery:
2626
actionid: default
2727
groupby: all
2828
crawlers:
29-
golang/gomod:
29+
golang:
3030
versionfilter:
3131
kind: semver
3232
pattern: patch

content/en/docs/plugins/autodiscovery/golang.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Golang go.mod"
2+
title: "Golang "
33
description: "Discover Golang go.mod update"
4-
lead: "kind: golang/gomod"
4+
lead: "kind: golang"
55
draft: false
66
images: []
77
menu:
@@ -15,20 +15,20 @@ plugins:
1515

1616
== Description
1717

18-
The `golang/gomod` Autodiscovery plugin allows to automatically search and update go.mod files.
18+
The `golang` autodiscovery plugin allows to automatically search and update go.mod files.
1919
It handles golang version update and golang module version update.
2020

2121
=== Manifests
2222
==== Parameters
2323

24-
{{< autodiscoveryparameters "golang/gomod" >}}
24+
{{< autodiscoveryparameters "golang" >}}
2525

2626
==== Example
2727

2828
===== Golang update only
2929

3030
In the following example, we want to automate minor version update of Golang, such as from "1.19" to "1.20"
31-
If Updatecli detects a change, then it opens a new pullrequest with the propose version update.
31+
If Updatecli detects a change, then it opens a new pull request with the propose version update.
3232

3333
[source,yaml]
3434
----
@@ -39,7 +39,7 @@ If Updatecli detects a change, then it opens a new pullrequest with the propose
3939
===== Semantic version patch update only
4040

4141
In this example, Updatecli is looking for all version that can have a patch version update.
42-
If at least one version needs to be updated, then it opens a single pullrequest with all the version bump.
42+
If at least one version needs to be updated, then it opens a single pull request with all the version bump.
4343

4444
[source,yaml]
4545
----

0 commit comments

Comments
 (0)