|
| 1 | +name: Default Policies |
| 2 | + |
| 3 | +valuesinline: |
| 4 | + scm: |
| 5 | + enabled: true |
| 6 | + email: bot@updatecli.io |
| 7 | + user: updatecli |
| 8 | + owner: updatecli |
| 9 | + repository: releasepost |
| 10 | + username: "updatecli-bot" |
| 11 | + branch: main |
| 12 | + |
1 | 13 | policies: |
| 14 | + - name: Update golangci-lint |
| 15 | + policy: ghcr.io/updatecli/policies/golangci-lint/githubaction:0.6.1@sha256:a6f5d1c9e809f7a1eb86d61d2f88be1d11bf1bb4a1dd094dc285425e7f737f3f |
| 16 | + |
| 17 | + - name: Updatecli GitHub action |
| 18 | + policy: ghcr.io/updatecli/policies/autodiscovery/githubaction:0.2.1@sha256:cfddec11464cc09615135f0f1e069f00ad24d28edc7cc6a4e8224e04c3699008 |
| 19 | + |
2 | 20 | - name: Update Updatecli policies |
3 | 21 | policy: ghcr.io/updatecli/policies/updatecli/autodiscovery:0.6.1@sha256:71ce3cf69ebf8b7c25fa6131c51de2e13ceef9b832a4689b9d9422c7ce03bef1 |
4 | | - values: |
5 | | - - updatecli/values.d/scm.yaml |
6 | | - - updatecli/values.d/update-compose.yaml |
| 22 | + valuesinline: |
| 23 | + pipeline: |
| 24 | + labels: |
| 25 | + ecosystem: "updatecli" |
| 26 | + monitor: active |
| 27 | + |
| 28 | + - name: Update Updatecli version in GitHub action |
| 29 | + policy: ghcr.io/updatecli/policies/updatecli/githubaction:0.7.0 |
| 30 | + valuesinline: |
| 31 | + pipeline: |
| 32 | + labels: |
| 33 | + ecosystem: "updatecli" |
| 34 | + monitor: active |
7 | 35 |
|
8 | 36 | - name: Golang Version |
9 | 37 | policy: ghcr.io/updatecli/policies/golang/version:0.5.1@sha256:e288b0d8bac7b0454a96c587cd7bea8a29173a290c3b4437677b56487cfd127e |
10 | | - values: |
11 | | - - updatecli/values.d/scm.yaml |
12 | 38 |
|
13 | 39 | - name: Major Golang Module update |
14 | 40 | policy: ghcr.io/updatecli/policies/autodiscovery/golang:0.11.1@sha256:0a66e83d6d5c7a122bb2c7e28eb27a34e16aa16450979a8bc323d52a7a453739 |
15 | | - values: |
16 | | - - updatecli/values.d/scm.yaml |
17 | | - - updatecli/values.d/golang_major.yaml |
| 41 | + valuesinline: |
| 42 | + name: "deps(golang): Bump Major version for Golang module" |
| 43 | + pipelineid: "golang/gomod/major" |
| 44 | + groupby: all |
| 45 | + spec: |
| 46 | + versionfilter: |
| 47 | + kind: semver |
| 48 | + pattern: majoronly |
| 49 | + ignore: |
| 50 | + - modules: |
| 51 | + # Ignoring the following modules as they do not publish release |
| 52 | + github.com/shurcooL/githubv4: "" |
| 53 | + only: |
| 54 | + # This repository contains other go.sum file used for testing. |
| 55 | + # So we want to be sure that we only update the one at the root of the repository |
| 56 | + - path: "go.mod" |
18 | 57 |
|
19 | 58 | - name: Minor Golang Module update |
20 | 59 | policy: ghcr.io/updatecli/policies/autodiscovery/golang:0.11.1@sha256:0a66e83d6d5c7a122bb2c7e28eb27a34e16aa16450979a8bc323d52a7a453739 |
21 | | - values: |
22 | | - - updatecli/values.d/scm.yaml |
23 | | - - updatecli/values.d/golang_minor.yaml |
| 60 | + valuesinline: |
| 61 | + name: "deps(golang): Bump Minor version for Golang module" |
| 62 | + pipelineid: "golang/gomod/minor" |
| 63 | + groupby: individual |
| 64 | + |
| 65 | + spec: |
| 66 | + versionfilter: |
| 67 | + kind: semver |
| 68 | + pattern: minoronly |
| 69 | + ignore: |
| 70 | + - modules: |
| 71 | + # Ignoring the following modules as they do not publish release |
| 72 | + github.com/shurcooL/githubv4: "" |
| 73 | + only: |
| 74 | + # This repository contains other go.sum file used for testing. |
| 75 | + # So we want to be sure that we only update the one at the root of the repository |
| 76 | + - path: "go.mod" |
24 | 77 |
|
25 | 78 | - name: Patch Golang Module update |
26 | 79 | policy: ghcr.io/updatecli/policies/autodiscovery/golang:0.11.1@sha256:0a66e83d6d5c7a122bb2c7e28eb27a34e16aa16450979a8bc323d52a7a453739 |
27 | | - values: |
28 | | - - updatecli/values.d/scm.yaml |
29 | | - - updatecli/values.d/golang_patch.yaml |
30 | | - |
31 | | - - name: Update golangci-lint |
32 | | - policy: ghcr.io/updatecli/policies/golangci-lint/githubaction:0.6.1@sha256:a6f5d1c9e809f7a1eb86d61d2f88be1d11bf1bb4a1dd094dc285425e7f737f3f |
33 | | - values: |
34 | | - - updatecli/values.d/scm.yaml |
| 80 | + valuesinline: |
| 81 | + name: "deps: bump patch version for Golang module" |
| 82 | + pipelineid: "golang/gomod/patch" |
35 | 83 |
|
36 | | - - name: Updatecli GitHub action |
37 | | - policy: ghcr.io/updatecli/policies/autodiscovery/githubaction:0.2.1@sha256:cfddec11464cc09615135f0f1e069f00ad24d28edc7cc6a4e8224e04c3699008 |
38 | | - values: |
39 | | - - updatecli/values.d/scm.yaml |
40 | | - |
41 | | - - name: Update Updatecli version in GitHub action |
42 | | - policy: ghcr.io/updatecli/policies/updatecli/githubaction:0.7.0 |
43 | | - values: |
44 | | - - updatecli/values.d/scm.yaml |
45 | | - - updatecli/values.d/githubaction.yaml |
| 84 | + spec: |
| 85 | + versionfilter: |
| 86 | + kind: semver |
| 87 | + pattern: patch |
| 88 | + ignore: |
| 89 | + - modules: |
| 90 | + # Ignoring the following modules as they do not publish release |
| 91 | + github.com/shurcooL/githubv4: "" |
| 92 | + only: |
| 93 | + # This repository contains other go.sum file used for testing. |
| 94 | + # So we want to be sure that we only update the one at the root of the repository |
| 95 | + - path: "go.mod" |
0 commit comments