ER: Ensure 'reopened' PRs get checked for properly linked issues

Abierto Apto para principiantes
#8,870 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, yaml
Área
ci-cd

Línea de trabajo

Lee .github/workflows/pull-request-trigger.yml y la documentación de GitHub Actions enlazada. Añade reopened a los tipos de actividad de pull_request y, después, verifica que volver a abrir una pull request active el workflow y compruebe si su descripción incluye un issue enlazado. El issue también enlaza instrucciones de prueba para configurar un entorno personal.

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

Descripción

Complexity: Small ER Feature: Refactor GHA Issue Making: Level 2 ready for merge team role: back end/devOps size: 0.25pt
Emergent Requirement - Problem

We should add "reopened" to the types of events on PRS that trigger the pull-request-trigger.yml‎ Github Action. Currently, that Github Action, which checks PR descriptions for keywords and linked issue numbers, is only triggered on "opened" and "edited" events.

Issue you discovered this emergent requirement in
  • #8815
Date discovered

10-24-2026

Did you have to do something temporarily
  • YES
  • NO
Who was involved

@castillios
@daras-cu

What happens if this is not addressed

If a closed PR that is not properly formatted with a linked issue is reopened, it will not be checked by this Github Action and the PR will not get a comment nudging the author to properly link their issue.

Resources
Recommended Action Items
  • Make a new issue
  • Discuss with team
  • Let a Team Lead know
Potential solutions [draft]

Issue:

  • Complexity: Small (While the suggested change here only requires changing one line of code, I gave it the Complexity: Small label because it requires testing GitHub Actions.)
  • Relationships: None
  • Size: 0.25pt
  • Fix:
    in ~/.github/workflows/pull-request-trigger.yml (line 2-4), change:
on:
  pull_request:
    types: [opened, edited]

... to:

on:
  pull_request:
    types: [opened, edited, reopened]
Lenguaje dominante
JavaScript
Estrellas
365
Forks
872
Merge medio
8 d 19 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hackforla/website

Todos los issues de hackforla/website

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.