File tree Expand file tree Collapse file tree 4 files changed +108
-0
lines changed
assets/code_example/docs/plugins/autodiscovery
content/en/docs/plugins/autodiscovery Expand file tree Collapse file tree 4 files changed +108
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " githubaction autodiscovery"
2+ scms :
3+ default :
4+ kind : git
5+ spec :
6+ url : https://github.com/updatecli/updatecli.git
7+ branch : " main"
8+
9+ autodiscovery :
10+ scmid : default
11+ crawlers :
12+ githubaction :
13+ spec :
14+ digest : true
15+ rootdir : " .github"
Original file line number Diff line number Diff line change 1+ name : " precommit autodiscovery"
2+ scms :
3+ default :
4+ kind : git
5+ spec :
6+ url : https://github.com/updatecli/updatecli.git
7+ branch : " main"
8+
9+ autodiscovery :
10+ scmid : default
11+ crawlers :
12+ precommit :
13+ spec :
14+ digest : true
Original file line number Diff line number Diff line change 1+ ---
2+ title: "Github Action"
3+ description: "Discover github action update"
4+ lead: "kind: githubaction"
5+ draft: false
6+ images: []
7+ menu:
8+ docs:
9+ parent: "plugin-autodiscovery"
10+ weight: 130
11+ toc: true
12+ plugins:
13+ - autodiscovery
14+ ---
15+
16+ == Description
17+
18+ The Github Action crawler looks recursively for all Github Action workflows.
19+ Then for each of them, it tries to automate its update.
20+
21+ It currently support the following sources:
22+
23+ - link:{{< ref "docker_image" >}}[`dockerimage`]
24+
25+ - link:{{< ref "github_release" >}}[`githubrelease`]
26+
27+ - link:{{< ref "gittag" >}}[`gittag`]
28+
29+ - link:{{< ref "gitbranch" >}}[`gitbranch`]
30+
31+
32+ == Manifest
33+ === Parameters
34+
35+ {{< autodiscoveryparameters "githubaction" >}}
36+
37+ ==== Example
38+
39+ [source,yaml]
40+ ----
41+ # updatecli.d/default.yaml
42+ {{<include "assets/code_example/docs/plugins/autodiscovery/githubaction/updatecli.d/default.yaml">}}
43+ ----
Original file line number Diff line number Diff line change 1+ ---
2+ title: "Precommit"
3+ description: "Discover precommit update"
4+ lead: "kind: precommit"
5+ draft: false
6+ images: []
7+ menu:
8+ docs:
9+ parent: "plugin-autodiscovery"
10+ weight: 130
11+ toc: true
12+ plugins:
13+ - autodiscovery
14+ ---
15+
16+ == Description
17+
18+ The Precommit crawler looks recursively for all precommit repository updates.
19+
20+ It currently support the following sources:
21+
22+ - link:{{< ref "gittag" >}}[`gittag`]
23+
24+
25+ == Manifest
26+ === Parameters
27+
28+ {{< autodiscoveryparameters "precommit" >}}
29+
30+ ==== Example
31+
32+ [source,yaml]
33+ ----
34+ # updatecli.d/default.yaml
35+ {{<include "assets/code_example/docs/plugins/autodiscovery/precommit/updatecli.d/default.yaml">}}
36+ ----
You can’t perform that action at this time.
0 commit comments