Skip to content

Commit de09689

Browse files
Actually raise a PR when java-bump is detected (#18351) (#18372)
This commit adds an action such that a PR is raised when updatecli detects a new java version. (cherry picked from commit ee68131) Co-authored-by: Cas Donoghue <[email protected]>
1 parent 337868e commit de09689

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.ci/updatecli/bump-java-version.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ scms:
1515
commitusingapi: true
1616
force: false
1717

18+
actions:
19+
default:
20+
title: 'Update bundled JDK to {{ source "latest_jdk_version" }} build {{ source "latest_jdk_build" }}'
21+
kind: github/pullrequest
22+
scmid: default
23+
spec:
24+
automerge: false
25+
labels:
26+
- automation
27+
1828
sources:
1929
jdk_major:
2030
kind: yaml
@@ -43,6 +53,7 @@ targets:
4353
name: "Update JDK revision"
4454
kind: yaml
4555
sourceid: latest_jdk_version
56+
scmid: default
4657
spec:
4758
file: versions.yml
4859
key: $.bundled_jdk.revision
@@ -51,6 +62,7 @@ targets:
5162
name: "Update JDK build"
5263
kind: yaml
5364
sourceid: latest_jdk_build
65+
scmid: default
5466
spec:
5567
file: versions.yml
5668
key: $.bundled_jdk.build

0 commit comments

Comments
 (0)