Feature request: allow cooldown via CLI flag (--cooldown-days)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
Línea de trabajo
Start by locating the CLI flag parsing and CooldownConfig.DefaultDays handling, then trace how dependabot.yml and the user config are loaded. Add the --cooldown-days integer flag with the stated precedence, including zero disabling cooldown, and verify the behavior through the existing CLI or configuration tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Go
- Estrellas
- 253
- Forks
- 15
- Merge medio
- 19 h 30 min
- PR fusionados (30 d)
- 60
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/gh-actions-lock
-
Fix mode unpins a reusable workflow call when the same repository is also used as a step actionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/gh-actions-lock#261 ·
Los mantenedores suelen responder en 1 día
-
Dependabot drops an unchanged transitive dependency when bumping a composite actionPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
github/gh-actions-lock#257 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
--migrate-local-actions rewrites action files in nested worktrees and submodulesPosiblemente ocupada @aksestok la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 20/100
github/gh-actions-lock#253 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
github/gh-actions-lock#252 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
github/gh-actions-lock#247 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de github/gh-actions-lock
Issues similares
-
CLI: `describe <ns>.<table>` reports "namespace does not exist" when only the table is missingPosiblemente ocupada @Shruthirdy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
apache/iceberg-go#2423 ·
Los mantenedores suelen responder en 2 días
-
post-v4
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
rishikanthc/Scriberr#506 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
microsoft/TypeScript#65290 ·
Los mantenedores suelen responder en 1 día
-
[Bug] rollingUpdatePartition panics when live StatefulSet replicas sit far below the desired countAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sgl-project/rbg#547 ·
Los mantenedores suelen responder en 1 día