Skip to content

Github-actions attempts to upgrade from @X to @X.Y.Z #14770

@FredrikM97

Description

@FredrikM97

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

github-actions

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

updates:
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
    cooldown:
      default-days: 4

Updated dependency

Internal library in organization.

What you expected to see, versus what you actually saw

Hi!

We have a private library under organization/our-lib. We release vX.Y.Z versions and a vX tag that we move to the commit of latest release vX.Y.Z.

Our releases look like:

release tags release date
v1.5.0 (tag: v1) released yesterday
v1.4.0 - released 1 week ago
v1.3.0 - current version

In the past few days dependabot opens PR:s to bump v1 to v1.4.0. I think it is related to #14621 which suggests older release (v1.4.0) that is outside cooldown window.

Dependabot now matches older releases and does not take v1 version into consideration and instead attempts to update from v1 -> v1.4.0. We expect it to ignore the release and focus to check if the vX is outside the cooldown and not suggest to bump to vX.Y.Z release.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions