github / github/empty-repos

Identifying empty/blank repositories generated from repository templates

Aperta
#23 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
8
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia leggendo i controlli esistenti del workflow per i repository vuoti e quelli contenenti solo un README, quindi analizza quali informazioni sull’origine da un template e quale cronologia dei commit sono disponibili per un repository candidato. L’issue suggerisce di confrontarlo con il relativo template oppure di utilizzare il numero di commit; il lavoro sarebbe completato quando il workflow riconoscerà i repository generati da un template e rimasti invariati come effettivamente vuoti, ma l’approccio non è ancora deciso.

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

Valutazione

Stack tecnologico
github-actions, javascript
Ambito
ci-cd
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.