Skip to content

Commit f4407b6

Browse files
Automate Palantir Java Formatter updates using renovate (#1191)
1 parent cabe249 commit f4407b6

File tree

3 files changed

+36
-18
lines changed

3 files changed

+36
-18
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/renovate.json5

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":semanticCommitsDisabled",
6+
"schedule:daily"
7+
],
8+
"automerge": true,
9+
"ignoreDeps": [
10+
"org.jenkins-ci.main:jenkins-bom",
11+
"org.jenkins-ci.main:jenkins-core",
12+
"org.jenkins-ci.main:jenkins-war",
13+
// see https://github.com/apache/maven-surefire/issues/2601
14+
"org.apache.maven.plugins:maven-failsafe-plugin",
15+
"org.apache.maven.plugins:maven-surefire-plugin"
16+
],
17+
"labels": [
18+
"dependencies"
19+
],
20+
"customManagers": [
21+
{
22+
"customType": "regex",
23+
"managerFilePatterns": [
24+
"/pom.xml/"
25+
],
26+
"matchStrings": [
27+
"<palantirJavaFormat>\\n\\s+<version>(?<currentValue>.*)<\\/version>\\n\\s+<\\/palantirJavaFormat>"
28+
],
29+
"depNameTemplate": "com.palantir.javaformat:palantir-java-format",
30+
"datasourceTemplate": "maven"
31+
}
32+
],
33+
"rebaseWhen": "conflicted"
34+
}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,9 +719,9 @@
719719
<indent>
720720
<spaces>true</spaces>
721721
</indent>
722+
<!-- Declare version so that spotless does not choose a version based on JDK version -->
723+
<!-- https://github.com/diffplug/spotless/issues/2503#issuecomment-2953146277 -->
722724
<palantirJavaFormat>
723-
<!-- Declare version so that spotless does not choose a version based on JDK version -->
724-
<!-- https://github.com/diffplug/spotless/issues/2503#issuecomment-2953146277 -->
725725
<version>2.73.0</version>
726726
</palantirJavaFormat>
727727
<removeUnusedImports />

0 commit comments

Comments
 (0)