-
-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathnode.yaml
More file actions
78 lines (72 loc) · 1.72 KB
/
Copy pathnode.yaml
File metadata and controls
78 lines (72 loc) · 1.72 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: "chore(node): upgrade node version"
pipelineid: node_version
labels:
ecosystem: javascript
#{{- if .scm.enabled }}
actions:
default:
kind: "github/pullrequest"
title: "chore(dockerfile): upgrade node version"
spec:
automerge: true
labels:
- chore
- dependencies
scmid: default
scms:
default:
kind: github
spec:
branch: "{{ .scm.branch }}"
email: "{{ .scm.email }}"
owner: "{{ .scm.owner }}"
repository: "{{ .scm.repository }}"
user: "{{ .scm.user }}"
commitusingapi: true
#{{- end }}
sources:
node_version:
name: Get latest node version
kind: githubrelease
spec:
owner: "nodejs"
repository: "node"
versionfilter:
kind: semver
transformers:
- trimprefix: v
pnpm:
name: get latest pnpm version
kind: githubrelease
spec:
owner: pnpm
repository: pnpm
versionfilter:
kind: semver
transformers:
- trimprefix: v
targets:
pnpm_gha_updatecli:
name: 'deps: update pnpm version to {{ source "pnpm" }}"'
kind: yaml
#{{- if .scm.enabled }}
scmid: default
#{{- end }}
sourceid: pnpm
spec:
file: ".github/workflows/*.yaml"
searchpattern: true
key: '$.jobs.*.steps[?(@.uses =~ /^pnpm\/action-setup/)].with.version'
engine: "yamlpath"
node_gha_updatecli:
name: 'deps: update node version to {{ source "node_version" }}"'
kind: yaml
#{{- if .scm.enabled }}
scmid: default
#{{- end }}
sourceid: node_version
spec:
file: ".github/workflows/*.yaml"
searchpattern: true
key: '$.jobs.*.steps[?(@.uses =~ /^actions\/setup-node/)].with.node-version'
engine: "yamlpath"