Feature request: repo-local configuration file support

オープン
#133 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, go
領域
cli, tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
253
フォーク
15
平均マージ
19時間 30分
マージ済み PR(30日)
60

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/gh-actions-lock のほかの issue

github/gh-actions-lock の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。