You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/updatecli.d/bump-golang.yml
+38-35Lines changed: 38 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,17 @@ scms:
16
16
17
17
actions:
18
18
default:
19
-
title: '[Automation] Bump Golang version to {{ source "latestGoVersion" }}'
19
+
title: '[Automation] Bump Golang version to {{ source "latestMicrosoftGoVersion" }}'
20
20
kind: github/pullrequest
21
21
scmid: githubConfig
22
22
spec:
23
-
automerge: true
23
+
automerge: false
24
24
labels:
25
25
- automation
26
26
- dependencies
27
27
- backport-skip
28
28
description: |
29
-
See [changelog](https://github.com/golang/go/issues?q=milestone%3AGo{{ source "latestGoVersion" }}+label%3ACherryPickApproved) for {{ source "latestGoVersion" }}
29
+
See [changelog](https://github.com/golang/go/issues?q=milestone%3AGo{{ source "golangVersion" }}+label%3ACherryPickApproved) for {{ source "golangVersion" }}
30
30
31
31
sources:
32
32
minor:
@@ -39,75 +39,78 @@ sources:
39
39
spec:
40
40
command: echo {{ requiredEnv "GO_MINOR" }}
41
41
42
-
latestGoVersion:
43
-
name: Get Latest Go Release
42
+
latestMicrosoftGoVersion:
43
+
name: Get Latest Microsoft Go Release
44
44
kind: githubrelease
45
45
dependson:
46
46
- minor
47
47
transformers:
48
-
- trimprefix: go
48
+
- trimprefix: v
49
49
spec:
50
-
owner: golang
50
+
owner: microsoft
51
51
repository: go
52
52
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
53
53
username: '{{ requiredEnv "GITHUB_ACTOR" }}'
54
54
versionfilter:
55
55
kind: regex
56
-
pattern: go1\.{{ source "minor" }}(\.(\d*))?$
56
+
pattern: v1\.{{ source "minor" }}\.(\d*)(-\d*)$
57
+
58
+
golangVersion:
59
+
# NOTE: FIPS images need the Microsoft version.
60
+
name: Get the Microsoft version of Golang, as it comes out a little later
0 commit comments