diff --git a/updatecli/updatecli.d/goss.yml b/updatecli/updatecli.d/goss.yml new file mode 100644 index 000000000..ad216129e --- /dev/null +++ b/updatecli/updatecli.d/goss.yml @@ -0,0 +1,47 @@ +--- +name: Bump Goss version + +scms: + default: + kind: github + spec: + user: "{{ .github.user }}" + email: "{{ .github.email }}" + owner: "{{ .github.owner }}" + repository: "{{ .github.repository }}" + token: "{{ requiredEnv .github.token }}" + username: "{{ .github.username }}" + branch: "{{ .github.branch }}" + +sources: + lastReleaseVersion: + kind: githubrelease + name: Get the latest Goss version + spec: + owner: goss-org + repository: goss + token: "{{ requiredEnv .github.token }}" + username: "{{ .github.username }}" + versionfilter: + kind: semver + transformers: + - trimprefix: v + +targets: + updateToolVersion: + name: Update the Goss tool version + kind: yaml + spec: + file: provisioning/tools-versions.yml + key: $.goss_version + scmid: default + +actions: + default: + kind: github/pullrequest + title: Bump Goss version to {{ source "lastReleaseVersion" }} + scmid: default + spec: + labels: + - enhancement + - goss