Feature request: repo-local configuration file support

Aperta
#133 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, go
Ambito
cli, tooling

Direzione di ricerca

Start by tracing cooldown configuration lookup across .github/dependabot.yml, ~/.config/gh-actions-lock/config.yml, and GH_ACTIONS_LOCK_CONFIG, then compare the proposed .github/actions-lock.yml behavior. Done means repo-local settings are auto-discovered, take the documented priority, and provide cooldown without requiring Dependabot or an environment variable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:cli feature-request

Feature request: repo-local configuration file support

Summary

Add support for a repo-local configuration file dedicated to gh-actions-lock (e.g. .github/actions-lock.yml).

Today the only file-based setting is cooldown, and its lookup sources are limited to .github/dependabot.yml (the github-actions update entry's cooldown block) or ~/.config/gh-actions-lock/config.yml (or an arbitrary path via GH_ACTIONS_LOCK_CONFIG).

Motivation

  • Repositories using a dependency updater other than Dependabot (e.g. Renovate) cannot manage cooldown in-repo without enabling Dependabot's github-actions updater as a side effect (open-pull-requests-limit: 0 suppresses PRs but the updater still runs).
  • ~/.config/... is user-global and can't be git-managed per repository; GH_ACTIONS_LOCK_CONFIG requires setting an env var on every invocation, which is easy to forget.
  • A dedicated repo-local config file gives future repo-scoped settings a home beyond cooldown.

Proposal

Auto-discover a repo-local config file (e.g. .github/actions-lock.yml) and read it with priority equal to or above dependabot.yml. Use it as the home for repo-scoped settings, starting with cooldown.

Lingua principale
Go
Stelle
253
Fork
15
Merge medio
19h 30m
PR unite (30g)
60

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/gh-actions-lock

Tutte le issue di github/gh-actions-lock

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.