Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dependencies): Tracks Golang version. #149

Merged
merged 10 commits into from
Mar 11, 2024
40 changes: 40 additions & 0 deletions updatecli/updatecli.d/golang.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: "deps: update Golang 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:
golang:
name: Get latest Golang version
kind: golang

targets:
golang:
name: 'deps(dockerfile): bump golang version'
kind: dockerfile
spec:
file: dockerfiles/golang/Dockerfile
instruction:
keyword: ARG
matcher: GOLANG_VERSION
sourceid: golang

actions:
default:
kind: github/pullrequest
scmid: default
title: Bump golang version to {{ source "golang" }}
spec:
labels:
- dependencies
- chore
Loading