Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Verify that PATCH required_pull_request_reviews enables reviews on a protected branch without them

Aperta
#546 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, python
Ambito
devops

Direzione di ricerca

Start with the branch-protection planner and recorded-response tests for feature 043; the issue does not name their file paths. Verify the PATCH behavior against a disposable GitHub repository, checking whether reviews become enabled when none were configured. If not, plan the change as part of the translated full PUT while preserving other fields; done means the behavior is confirmed and the plan and tests reflect it.

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

Descrizione

module-core testing

The 043 branch's branch-protection planner tightens review requirements on an already-protected branch with PATCH /repos/{o}/{r}/branches/{b}/protection/required_pull_request_reviews. It never re-sends the whole protection object, which would risk dropping unrelated settings.

The GitHub docs don't say whether that PATCH enables PR reviews on a protected branch that has none configured, or only modifies existing review settings. The recorded-response tests assume it enables them.

If GitHub rejects it, the read-back reports an error and nothing is weakened, but AC-03.01 / QA-07.01 are not fixed.

Verify against a disposable repository. If the PATCH does not enable reviews, plan the change as part of the translated full PUT, which already preserves every other field.

Found while implementing feature 043 (remediation safety, branch 043-remediation-safety, not yet merged).

Lingua principale
Python
Stelle
22
Fork
27
Merge medio
1g 20h
PR unite (30g)
39

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 darnitdevorg/darnit

Tutte le issue di darnitdevorg/darnit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.