github / github/empty-repos

Support configurable list of files for empty repository detection

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

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

enhancement
主要言語
JavaScript
スター
8
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

### Is your feature request related to a problem?

Hi! My OSPO is interested in using this action to assist with our repository archival practices. We are building tools to identify repositories that are candidates for archival and plan to use this workflow to assist us in our work of reviewing contents of a repository.

Currently, the workflow is able to identify repos that are empty or README-only. In my organization, repositories are required to include additional standard files like CONTRIBUTING.md and SECURITY.md. We'd like the workflow to support a configurable list of files that, when present alone, still qualify a repo as empty.

### Describe the solution you'd like

We would like a new feature that supports a configurable list of files to be treated as "blank" alongside `README.md` such as `CONTRIBUTING.md`, `SECURITY.md` and other community/policy files.

### Describe alternatives you've considered

_No response_

### Additional context

I'm happy to work on this if it aligns with the project's direction. Just wanted to get your thoughts before diving in!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、workflow における現在の空のリポジトリまたは README のみのリポジトリの検出処理と、action の設定入力を特定します。空として扱うファイルの設定可能なリストを追加し、README.md と設定したファイルのみを含むリポジトリが引き続き空として検出されることを確認します。

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

評価

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

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

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