Skip to content

Commit 010a200

Browse files
authored
Refactor Updatecli workflows (#16)
* fix: add missing files Signed-off-by: Olivier Vernin <olivier@vernin.me> * chore: update updatelci gha workflow Signed-off-by: Olivier Vernin <olivier@vernin.me> --------- Signed-off-by: Olivier Vernin <olivier@vernin.me>
1 parent e9c7ea0 commit 010a200

7 files changed

Lines changed: 115 additions & 0 deletions

File tree

updatecli-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ policies:
2727
policy: ghcr.io/updatecli/policies/autodiscovery/githubaction:0.3.0@sha256:3b5425da2a2a2b89bb69463f1294704c33730358c66140efb93cab14b2868b06
2828
values:
2929
- updatecli/values.d/scm.yaml
30+
- updatecli/values.d/githubaction.yaml
3031

3132
- name: Handle Updatecli version in GitHub action
3233
policy: ghcr.io/updatecli/policies/updatecli/githubaction:0.7.0@sha256:a97518f118b03d2f63f45378e1961028b07c23d53db91db892893ff240fa5f4e
3334
values:
3435
- updatecli/values.d/scm.yaml
36+
- updatecli/values.d/updatecli_gha.yaml
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
spec:
2+
digest: true
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
src:
2+
url: "https://github.com/updatecli/udash.git"
3+
branch: "main"
4+
5+
files:
6+
- src: .github/workflows/updatecli.yaml
7+
dst: .github/workflows/updatecli.yaml
8+
- src: .github/workflows/updatecli_test.yaml
9+
dst: .github/workflows/updatecli_test.yaml
10+
- src: .github/workflows/updatecli_update.yaml
11+
dst: .github/workflows/updatecli_update.yaml
12+
13+
scm:
14+
enabled: true
15+
kind: githubsearch
16+
search: "org:updatecli language:Go archived:false"
17+
branch: "^main$|^master$"
18+
commitusingapi: true
19+
user: updateclibot
20+
limit: 0
21+
22+
title: "chore: Update Updatecli GHA workflow"
23+
24+
pr:
25+
automerge: false
26+
title: "chore: Update Updatecli GHA workflow"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
title: "Updatecli AGPL License"
2+
src:
3+
url: "https://github.com/updatecli/udash.git"
4+
branch: "main"
5+
6+
files:
7+
- src: LICENSE
8+
dst: LICENSE
9+
10+
pr:
11+
automerge: false
12+
title: "chore: update AGPL License"
13+
14+
scm:
15+
enabled: true
16+
kind: githubsearch
17+
search: |
18+
repo:updatecli/udash
19+
repo:updatecli/udash-front
20+
branch: "^main$|^master$"
21+
commitusingapi: true
22+
user: updateclibot
23+
limit: 0
24+
25+
automerge: false
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
title: Update Apache 2 License
2+
3+
src:
4+
url: "https://github.com/updatecli/updatecli.git"
5+
branch: "main"
6+
7+
files:
8+
- src: LICENSE
9+
dst: LICENSE
10+
11+
pr:
12+
title: Update Apache 2 License
13+
automerge: false
14+
15+
scm:
16+
enabled: true
17+
kind: githubsearch
18+
search: |
19+
repo:updatecli/updatecli-action
20+
repo:updatecli/updatecli
21+
repo:updatecli/asdf-updatecli
22+
repo:updatecli/releasepost-action
23+
repo:updatecli/releasepost
24+
repo:updatecli/plugins
25+
repo:updatecli/policies
26+
repo:updatecli/demo-terminal
27+
repo:updatecli/website
28+
repo:updatecli/homebrew-updatecli
29+
repo:updatecli/charts
30+
repo:updatecli/kubernetes-management
31+
32+
branch: "^main$|^master$"
33+
commitusingapi: true
34+
user: updateclibot
35+
limit: 0
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
title: Sync default repository files
2+
3+
src:
4+
url: "https://github.com/updatecli/updatecli.git"
5+
branch: "main"
6+
7+
files:
8+
- src: CODE_OF_CONDUCT.md
9+
dst: CODE_OF_CONDUCT.md
10+
- src: .github/workflows/typos.yaml
11+
dst: .github/workflows/typos.yaml
12+
13+
pr:
14+
automerge: false
15+
title: "chore: sync default repository files"
16+
17+
scm:
18+
enabled: true
19+
kind: githubsearch
20+
search: "org:updatecli archived:false"
21+
branch: "^main$|^master$"
22+
commitusingapi: true
23+
user: updateclibot
24+
limit: 0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
versionpattern: ">0.0.0-rc.1"

0 commit comments

Comments
 (0)