Skip to content

Feature request: allow cooldown via CLI flag (--cooldown-days) #134

Open

Description

@mkusaka

Feature request: allow cooldown via CLI flag (--cooldown-days)

Summary

Allow the cooldown (minimum release age) to be set directly via a CLI flag.

Motivation

  • For one-off or CI runs, it's useful to say "don't pin tags newer than N days" without depending on a Dependabot config or a user config file.
  • Per-repo overrides are better left to config files — repeating key=value flags per action doesn't scale — so the flag should set only the global CooldownConfig.DefaultDays.

Proposal

Add --cooldown-days N (int). When set, it takes precedence over .github/dependabot.yml and ~/.config/gh-actions-lock/config.yml and applies to CooldownConfig.DefaultDays. Treat --cooldown-days 0 as disabling cooldown for that run (making a separate --no-cooldown unnecessary).

Precedence: flag > dependabot.yml > user config > none

Activity

  1. added 6 commits that reference this issue on Oct 20, 2026
    17718b7
    d513576
    c851cd6
    2c6a165
    91d9f40
    6d635d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions