ci: test each pull request on the release branch it will land on

Aperta
#127 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, github-actions, python
Ambito
ci-cd, release

Direzione di ricerca

Start by reading CONTRIBUTING and the release merge script, then inspect the five required checks and the approval-at-head rule mentioned in the issue. Compare how GitHub merge queue would work with the project's squash merges against the fallback of rerunning CI after changes to CI or a checker. Done means the release process documents and consistently tests each pull request against the next release branch base.

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

Descrizione

Today two kinds of breakage came from merging into a moving release branch:

  • #113 added the docs check to CI and passed against a base without #108; once both merged, release/0.1.0a2 failed lint until #114.
  • A base-only merge or a retarget dismissed valid approvals (#100, #122) and cost a full review each.

Options to weigh here:

  1. GitHub merge queue on release/*: each pull request is tested on the real next base before it lands. Check how it fits squash merges, the five required checks, the approval-at-head rule and the merge script.
  2. Without a queue: after merging any pull request that changes CI or a checker, re-run CI on the release branch before the next merge, and say so in CONTRIBUTING.

Release process only; no change to the package.

Lingua principale
Python
Stelle
1
Fork
0
Merge medio
5h 30m
PR unite (30g)
85

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 stack314/django-neolith

Tutte le issue di stack314/django-neolith

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.