Skip to content

Cron interval does not respect day of month ranges #15143

@benthorner

Description

@benthorner

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

npm

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

Example config:

version: 2

registries:
  xxxxx

updates:
  ...

  - package-ecosystem: npm
    directories:
      - ./xxxxxx
    open-pull-requests-limit: 1
    schedule:
      interval: "cron"
      cronjob: "0 8 1-7 * 1" # first Monday of each month at 08:00 UTC
    commit-message:
      prefix: 'xxxxx'
    registries:
      - xxxx
    groups:
      version-updates:
        applies-to: version-updates
        patterns: ['*']
    ignore:
      - dependency-name: '*'
        update-types: ['version-update:semver-patch']
      - dependency-name: '@types/node'
        update-types: ['version-update:semver-major']
      - dependency-name: '*eslint*'
      - dependency-name: '@middy/*'
        versions: '> 4'

Updated dependency

No response

What you expected to see, versus what you actually saw

Dependabot opened a PR for the project on Monday 25th May at 11:43PM (UTC).

No PR was expected - until the 1st week of June.

It was a bank holiday in the UK, so this was definitely not triggered by a user action.

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

Assignees

No one assigned

    Labels

    T: bug 🐞Something isn't working

    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