Identifying empty/blank repositories generated from repository templates
- 主要言語
- 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. My organization also creates repositories from template repos. It would be valuable if the workflow could detect repositories generated from a template that have no subsequent changes — treating them as effectively blank/empty.
### Describe the solution you'd like
We would like a new feature where the workflow could detect repositories generated from a template that have no subsequent changes — treating them as effectively blank/empty. Maybe this can be done by diffing the candidate repo against the template repo and seeing if there are any meaningful changes
### Describe alternatives you've considered
- Review the commit history. If the repo has 1-2 commits (either an initial commit or template generation commit), this is a signal that it is most likely blank
### 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!
コントリビューションガイド
調査の方向性
まず、空のリポジトリと README だけのリポジトリに対する workflow の既存のチェックを読み、その後、候補リポジトリについて、テンプレート由来の情報とコミット履歴のどのような情報が利用できるかを調査します。issue では、テンプレートと比較するか、コミット数を使用することが提案されています。完了とは、workflow が変更されていないテンプレート生成リポジトリを実質的に空として認識することを意味しますが、アプローチはまだ決まっていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github-actions, javascript
- 領域
- ci-cd
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100