github / github/empty-repos

Identifying empty/blank repositories generated from repository templates

Abierto
#23 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
JavaScript
Estrellas
8
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza leyendo las comprobaciones existentes del workflow para repositorios vacíos y repositorios que solo contienen un README; después, investiga qué información sobre el origen a partir de una plantilla y qué historial de commits están disponibles para un repositorio candidato. El issue sugiere compararlo con su plantilla o utilizar su número de commits; se consideraría terminado cuando el workflow reconozca los repositorios generados a partir de plantillas que no hayan cambiado como efectivamente vacíos, pero el enfoque aún no está decidido.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github-actions, javascript
Área
ci-cd
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.