Skip to content

Commit 1927645

Browse files
committed
fix: restrict gha files sync to golang repository
Signed-off-by: Olivier Vernin <olivier@vernin.me>
1 parent 873e0f9 commit 1927645

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

updatecli-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ policies:
66
values:
77
- updatecli/values.d/scm_githubsearch.yaml
88

9-
- name: Sync Updatecli values files from github.com/updatecli/updatecli
9+
- name: Golang - Sync Updatecli values files from github.com/updatecli/updatecli
1010
policy: ghcr.io/updatecli/policies/file:0.3.2
1111
values:
12-
- updatecli/values.d/scm_githubsearch.yaml
13-
- updatecli/values.d/sync_gha_updatecli.yaml
12+
- updatecli/values.d/golang/scm_githubsearch.yaml
13+
- updatecli/values.d/golang/sync_gha_updatecli.yaml
1414

1515
- name: Update Updatecli policies
1616
policy: ghcr.io/updatecli/policies/updatecli/autodiscovery:0.7.0@sha256:6890c4b4093a80063f518101881098fab8211c986481641faaf797a9ad5a31c3
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
scm:
2+
enabled: true
3+
kind: githubsearch
4+
search: "org:updatecli language:Go archived:false"
5+
branch: "^main$|^master$"
6+
commitusingapi: true
7+
user: updateclibot
8+
limit: 0
9+
10+
automerge: false
File renamed without changes.

0 commit comments

Comments
 (0)