Skip to content

Dependabot: skip non-LTS Temurin majors - #499

Merged
benjaminkomen merged 1 commit into
masterfrom
chore/dependabot-skip-non-lts-java
Sep 29, 2026
Merged

benjaminkomen merged 1 commit into
masterfrom
chore/dependabot-skip-non-lts-java

Conversation

@benjaminkomen

Copy link
Copy Markdown
Owner

Summary

Dependabot opened #496 (Temurin 25 → 26, a non-LTS release). Per Benjamin (2026-09-29), stay on Java LTS:

- package-ecosystem: docker
  ignore:
    - dependency-name: "eclipse-temurin"
      versions:
        - ">= 26, < 29"
        - ">= 30, < 33"
  • Patch/minor updates of Temurin 25 (e.g. 25.0.5_x-jre) keep flowing; 29 (next LTS) and 33 are not ignored.
  • Where Java versions appear, and why only one needs a rule:
    • docker/Dockerfile runtime eclipse-temurin:25.0.4_7-jre: the only line Bump eclipse-temurin from 25.0.4_7-jre to 26.0.2.1_1-jre in /docker #496 touched, so this is what the rule covers.
    • gradle:9.7.1-jdk25 builder: Dependabot keeps the -jdkNN tag suffix, so no rule is needed and Gradle updates still flow.
    • setup-java java-version: '25' in workflows: Dependabot bumps action versions, not with: inputs.
    • java.toolchain / Kotlin jvmTarget in build.gradle.kts: not dependencies, so Dependabot doesn't change them.
  • Short "Dependabot" section added to AGENTS.md.

Test plan

  • dependabot.yml parses and validates against the schemastore Dependabot v2 schema
  • CI green

Ignore eclipse-temurin versions >=26,<29 and >=30,<33 in the docker
ecosystem so the runtime image stays on Java LTS (25; next LTS 29).
Patch/minor updates of 25 keep flowing. Note the policy in AGENTS.md.
@benjaminkomen
benjaminkomen merged commit 107dd6b into master Sep 29, 2026
4 checks passed
@benjaminkomen
benjaminkomen deleted the chore/dependabot-skip-non-lts-java branch September 29, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant