Restart count days-before-stale only for PR/issue author

Aperta
#1,024 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
devops

Direzione di ricerca

Inizia tracciando il modo in cui l’opzione days-before-stale rileva gli aggiornamenti nelle pull requests e negli issues, inclusi gli aggiornamenti causati da un force-pushing sul main branch. Considera il lavoro completato quando il contatore viene riavviato solo per attività dell’autore della pull request o dell’issue, oppure quando viene fornita un’opzione per escludere questi eventi esterni, con un comportamento previsto sia per gli issues sia per le pull requests.

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

Descrizione

feature request

Description:
The days-before-stale option will restart the count if there is a new update in the pull request or issue even if the update comes from the author or any other user.

Justification:
Sometimes we make push force to the main branch. This "push force" will update all the open pull requests with a:

Screenshot from 2023-06-01 14-01-54

This makes the days-before-stale option restart the count in the open pull request even though that has been not touched by the author.

Could be great to have the option to make the days-before-stale option to restart the count only when there is an update from the pull request author or an option to exclude this kind of event from the counter.

Are you willing to submit a PR?

Lingua principale
TypeScript
Stelle
1.7k
Fork
438
Merge medio
27g 8h
PR unite (30g)
1

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 actions/stale

Tutte le issue di actions/stale

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.