Skip to content

63353 Dependabot improvements#6

Open
chihaiaalex wants to merge 3 commits intomainfrom
63353-dependabot-improvements
Open

63353 Dependabot improvements#6
chihaiaalex wants to merge 3 commits intomainfrom
63353-dependabot-improvements

Conversation

@chihaiaalex
Copy link
Contributor

No description provided.

Copy link
Contributor

@haphut haphut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Please answer the comments or modify accordingly.

@chihaiaalex
Copy link
Contributor Author

Done, replied and/or adjusted for all comments.

@haphut
Copy link
Contributor

haphut commented Mar 19, 2026

Great! One more Dependabot trick for Node LTS-only (EDIT: not needed for Node.js anymore, see next comment):

updates:
  - package-ecosystem: "docker"
    ignore:
      - dependency-name: "node"
        versions: [ "25", "27", "29", "31", "33", "35", "37", "39" ]

Source: dependabot/dependabot-core#2247 (comment)

A similar trick can be made for JVM, and it would go something like this:

updates:
  - package-ecosystem: "docker"
    ignore:
      # Ignore non-LTS versions
      - dependency-name: "eclipse-temurin/*"
        # The list can be extended when closer to the end as the release schedule might change in five years.
        versions: [ "26", "27", "28", "30", "31", "32", "34", "35", "36" ]

That trick would enable using this dependabot.yml in infodevops-docker-base-images.

(Obligatory: RenovateBot supports this use case out of the box, again.)

@haphut
Copy link
Contributor

haphut commented Mar 19, 2026

Aha, Node.js is changing their release schedule so all major versions will be LTS. So the trick is only relevant for JVM Docker images. Source: https://nodejs.org/en/blog/announcements/evolving-the-nodejs-release-schedule

@chihaiaalex
Copy link
Contributor Author

@haphut done, replied and/or adjusted for all comments.

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.

2 participants