Skip to content

Commit e69cbee

Browse files
authored
clean: updatecli update pipeline (#900)
1 parent 6dda380 commit e69cbee

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

updatecli/updatecli.d/updatecli.yaml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: "deps: bump updatecli version"
2-
pipelineid: "updatecli"
2+
pipelineid: "updatecli_action_version"
33
actions:
44
default:
55
kind: "github/pullrequest"
66
spec:
7+
title: 'deps: update updatecli version to {{ source "updatecli" }}'
78
automerge: true
89
mergemethod: "squash"
910
usetitleforautomerge: true
11+
reviewers:
12+
- "updatecli/core"
1013
labels:
1114
- "dependencies"
1215
- "updatecli"
@@ -22,6 +25,7 @@ scms:
2225
token: '{{requiredEnv "GITHUB_TOKEN"}}'
2326
user: '{{ .scm.user }}'
2427
username: '{{ .scm.username }}'
28+
commitusingapi: true
2529
disabled: false
2630
sources:
2731
updatecli:
@@ -32,7 +36,7 @@ sources:
3236
repository: "updatecli"
3337
token: '{{requiredEnv "GITHUB_TOKEN"}}'
3438
versionfilter:
35-
kind: "semver"
39+
kind: "semver"
3640
targets:
3741
src-main:
3842
name: 'deps: bump updatecli version in src/main.js to {{ source "updatecli" }}'
@@ -57,21 +61,21 @@ targets:
5761
dist:
5862
name: 'chore: rebuild the dist directory'
5963
dependson:
60-
- "src-main"
61-
- "test-main"
64+
- "src-main"
65+
- "test-main"
6266
disablesourceinput: true
6367
kind: shell
6468
scmid: "default"
6569
spec:
66-
command: |
67-
npm ci
68-
npm run prepare
69-
changedif:
70-
kind: file/checksum
71-
spec:
72-
files:
73-
- "dist/index.js"
74-
- "dist/index.js.map"
75-
environments:
76-
- name: "PATH"
77-
- name: "HOME"
70+
command: |
71+
npm ci
72+
npm run prepare
73+
changedif:
74+
kind: file/checksum
75+
spec:
76+
files:
77+
- "dist/index.js"
78+
- "dist/index.js.map"
79+
environments:
80+
- name: "PATH"
81+
- name: "HOME"

0 commit comments

Comments
 (0)