Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ autodiscovery:
scmid: default
actionid: default
crawlers:
golang/gomod:
golang:
versionfilter:
kind: semver
pattern: minor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ autodiscovery:
actionid: default
groupby: all
crawlers:
golang/gomod:
golang:
versionfilter:
kind: semver
pattern: patch
Expand Down
12 changes: 6 additions & 6 deletions content/en/docs/plugins/autodiscovery/golang.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Golang go.mod"
title: "Golang "
description: "Discover Golang go.mod update"
lead: "kind: golang/gomod"
lead: "kind: golang"
draft: false
images: []
menu:
Expand All @@ -15,20 +15,20 @@ plugins:

== Description

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

=== Manifests
==== Parameters

{{< autodiscoveryparameters "golang/gomod" >}}
{{< autodiscoveryparameters "golang" >}}

==== Example

===== Golang update only

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

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

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

[source,yaml]
----
Expand Down