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

Aperta Adatta ai principianti
#8,870 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, yaml
Ambito
ci-cd

Direzione di ricerca

Leggi .github/workflows/pull-request-trigger.yml e la documentazione di GitHub Actions collegata. Aggiungi reopened ai tipi di attività di pull_request, quindi verifica che la riapertura di una pull request attivi il workflow e controlli che la sua descrizione contenga un issue collegato. L’issue include anche un link alle istruzioni per i test e la configurazione di un ambiente personale.

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

Descrizione

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]
Lingua principale
JavaScript
Stelle
365
Fork
872
Merge medio
8g 19h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hackforla/website

Tutte le issue di hackforla/website

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.