diff --git a/updatecli-compose.yaml b/updatecli-compose.yaml index abe72c6..c9ed9b0 100644 --- a/updatecli-compose.yaml +++ b/updatecli-compose.yaml @@ -27,8 +27,10 @@ policies: policy: ghcr.io/updatecli/policies/autodiscovery/githubaction:0.3.0@sha256:3b5425da2a2a2b89bb69463f1294704c33730358c66140efb93cab14b2868b06 values: - updatecli/values.d/scm.yaml + - updatecli/values.d/githubaction.yaml - name: Handle Updatecli version in GitHub action policy: ghcr.io/updatecli/policies/updatecli/githubaction:0.7.0@sha256:a97518f118b03d2f63f45378e1961028b07c23d53db91db892893ff240fa5f4e values: - updatecli/values.d/scm.yaml + - updatecli/values.d/updatecli_gha.yaml diff --git a/updatecli/values.d/githubaction.yaml b/updatecli/values.d/githubaction.yaml new file mode 100644 index 0000000..61bff3a --- /dev/null +++ b/updatecli/values.d/githubaction.yaml @@ -0,0 +1,2 @@ +spec: + digest: true diff --git a/updatecli/values.d/golang/sync_updatecli_gha_workflows.yaml b/updatecli/values.d/golang/sync_updatecli_gha_workflows.yaml new file mode 100644 index 0000000..1bba9cb --- /dev/null +++ b/updatecli/values.d/golang/sync_updatecli_gha_workflows.yaml @@ -0,0 +1,26 @@ +src: + url: "https://github.com/updatecli/udash.git" + branch: "main" + +files: + - src: .github/workflows/updatecli.yaml + dst: .github/workflows/updatecli.yaml + - src: .github/workflows/updatecli_test.yaml + dst: .github/workflows/updatecli_test.yaml + - src: .github/workflows/updatecli_update.yaml + dst: .github/workflows/updatecli_update.yaml + +scm: + enabled: true + kind: githubsearch + search: "org:updatecli language:Go archived:false" + branch: "^main$|^master$" + commitusingapi: true + user: updateclibot + limit: 0 + +title: "chore: Update Updatecli GHA workflow" + +pr: + automerge: false + title: "chore: Update Updatecli GHA workflow" diff --git a/updatecli/values.d/license/agpl.yaml b/updatecli/values.d/license/agpl.yaml new file mode 100644 index 0000000..caf1b19 --- /dev/null +++ b/updatecli/values.d/license/agpl.yaml @@ -0,0 +1,25 @@ +title: "Updatecli AGPL License" +src: + url: "https://github.com/updatecli/udash.git" + branch: "main" + +files: + - src: LICENSE + dst: LICENSE + +pr: + automerge: false + title: "chore: update AGPL License" + +scm: + enabled: true + kind: githubsearch + search: | + repo:updatecli/udash + repo:updatecli/udash-front + branch: "^main$|^master$" + commitusingapi: true + user: updateclibot + limit: 0 + +automerge: false diff --git a/updatecli/values.d/license/apache2.yaml b/updatecli/values.d/license/apache2.yaml new file mode 100644 index 0000000..2c2a60c --- /dev/null +++ b/updatecli/values.d/license/apache2.yaml @@ -0,0 +1,35 @@ +title: Update Apache 2 License + +src: + url: "https://github.com/updatecli/updatecli.git" + branch: "main" + +files: + - src: LICENSE + dst: LICENSE + +pr: + title: Update Apache 2 License + automerge: false + +scm: + enabled: true + kind: githubsearch + search: | + repo:updatecli/updatecli-action + repo:updatecli/updatecli + repo:updatecli/asdf-updatecli + repo:updatecli/releasepost-action + repo:updatecli/releasepost + repo:updatecli/plugins + repo:updatecli/policies + repo:updatecli/demo-terminal + repo:updatecli/website + repo:updatecli/homebrew-updatecli + repo:updatecli/charts + repo:updatecli/kubernetes-management + + branch: "^main$|^master$" + commitusingapi: true + user: updateclibot + limit: 0 diff --git a/updatecli/values.d/sync_default.yaml b/updatecli/values.d/sync_default.yaml new file mode 100644 index 0000000..58ad1cf --- /dev/null +++ b/updatecli/values.d/sync_default.yaml @@ -0,0 +1,24 @@ +title: Sync default repository files + +src: + url: "https://github.com/updatecli/updatecli.git" + branch: "main" + +files: + - src: CODE_OF_CONDUCT.md + dst: CODE_OF_CONDUCT.md + - src: .github/workflows/typos.yaml + dst: .github/workflows/typos.yaml + +pr: + automerge: false + title: "chore: sync default repository files" + +scm: + enabled: true + kind: githubsearch + search: "org:updatecli archived:false" + branch: "^main$|^master$" + commitusingapi: true + user: updateclibot + limit: 0 diff --git a/updatecli/values.d/updatecli_gha.yaml b/updatecli/values.d/updatecli_gha.yaml new file mode 100644 index 0000000..b5d24c3 --- /dev/null +++ b/updatecli/values.d/updatecli_gha.yaml @@ -0,0 +1 @@ +versionpattern: ">0.0.0-rc.1"