[BUG]: Avoid triggering Release Drafter for closed, unmerged pull requests
Los mantenedores suelen responder en 4 días
@Jayesh-git10 ya está trabajando en esto.
Desde el 25/10/2026.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 82/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions
- Área
- ci-cd
Línea de trabajo
Empieza por el workflow de Release Drafter en .github/workflows/ e inspecciona sus desencadenadores de eventos. Confirma si los pushes a main y master actualizan el borrador de la versión y, después, elimina el desencadenador de cierre de PR sin fusionar o restríngelo a PR fusionados. La tarea estará terminada cuando cerrar un PR sin fusionar ya no ejecute el workflow y los cambios aceptados sigan actualizando el borrador de la versión.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug Description
The current Release Drafter workflow in .github/workflows/ is triggered by both pushes to main/master and the pull_request event with types: [closed].
The closed event is triggered whether a PR is merged or closed without merging. As a result, closing an unmerged PR can trigger an unnecessary Release Drafter workflow run, even though its changes were not accepted into the project.
Since the workflow already listens for pushes to main and master, the PR-close trigger may be redundant for updating the release draft.
Proposed solution: Remove the pull_request: types: [closed] trigger and rely on pushes to the target branches to update the release draft. Alternatively, if the PR trigger is required, restrict it to merged PRs.
Expected Behavior
Release Drafter should update the release draft based on changes accepted into the target branches, without running unnecessarily when a PR is closed without merging.
Actual Behavior
Closing a PR without merging triggers the Release Drafter workflow, resulting in an unnecessary workflow execution.
Additional Context
The workflow already listens for pushes to main and master, which normally occur when changes are merged into those branches. Removing the redundant trigger could simplify the workflow and avoid unnecessary runs.
Steps to Reproduce
-
Open a pull request targeting main or master.
-
Close the PR without merging it.
-
Observe that the Release Drafter workflow is triggered by the pull_request: types: [closed] event.
Logs and Screenshots
No response
Environment Details
No response
Impact
Low - Minor inconvenience
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- Lenguaje dominante
- JavaScript
- Estrellas
- 48
- Forks
- 163
- Merge medio
- 6 d 49 min
- PR fusionados (30 d)
- 34
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AOSSIE-Org/OrgExplorer
-
[BUG]: Table sort headers can't be used from the keyboard and don't announce sort orderPosiblemente ocupada @Rohit270406 la tomó hoy. Abiertobug enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AOSSIE-Org/OrgExplorer#419 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
[BUG]: Connect PAT modal saves invalid GitHub tokens without validationPosiblemente ocupada @Prince-ES la tomó hace 1 día. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AOSSIE-Org/OrgExplorer#416 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
[BUG]: Overview "Language Distribution" percentages are relative to the top-7 languages, not all reposPosiblemente ocupada @Rohit270406 la tomó hace 4 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
AOSSIE-Org/OrgExplorer#402 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
[BUG]: Overview wrongly lists a successfully-loaded org as "could not be loaded" (case / duplicate)Posiblemente ocupada @dhruvbit la tomó hace 4 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
AOSSIE-Org/OrgExplorer#400 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
AOSSIE-Org/OrgExplorer#399 · 1 comentario ·
Los mantenedores suelen responder en 4 días
Todos los issues de AOSSIE-Org/OrgExplorer
Issues similares
-
enhancement javascript python
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
jlab-sensing/ENTS-backend#851 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
guilhermerodz/input-otp#157 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
davidjerleke/embla-carousel#1414 ·
Los mantenedores suelen responder en 4 días
-
0. Needs triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día