Repository navigation
Expand file tree
/
Copy pathupdatecli.yaml
More file actions
64 lines (58 loc) · 1.53 KB
/
Copy pathupdatecli.yaml
File metadata and controls
64 lines (58 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: "docs: bump updatecli version"
pipelineid: "updatecli"
labels:
monitor: active
release: updatecli
actions:
default:
title: 'deps: bump updatecli version to {{ source "latestVersion" }}'
kind: github/pullrequest
spec:
automerge: true
labels:
- chore
- skip-changelog
scmid: default
scms:
default:
kind: github
spec:
branch: "{{ .scm.branch }}"
email: "{{ .scm.email }}"
owner: "{{ .scm.owner }}"
repository: "{{ .scm.repository }}"
user: "{{ .scm.user }}"
sources:
latestVersion:
name: Get latest updatecli release
kind: githubrelease
spec:
owner: updatecli
repository: updatecli
versionfilter:
kind: semver
conditions:
container:
name: "Ensure latest container image is publish"
kind: dockerimage
spec:
image: ghcr.io/updatecli/updatecli
targets:
bugReport:
name: 'docs: update updatecli version to {{ source "latestVersion" }}'
kind: file
spec:
content: '**updatecli**: {{ source "latestVersion" }}'
file: .github/ISSUE_TEMPLATE/1-bug-report.yml
matchpattern: '\*\*updatecli\*\*: .*'
scmid: default
sourceid: latestVersion
cosign-container:
name: 'docs: update issue template with Updatecli version to {{ source "latestVersion" }}'
kind: file
spec:
file: README.md
matchpattern: "ghcr.io/updatecli/updatecli:(.*)"
replacepattern: 'ghcr.io/updatecli/updatecli:{{ source "latestVersion" }}'
scmid: default
sourceid: latestVersion