Enforce additional merge checks

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, github-actions
Ambito
ci-cd

Direzione di ricerca

This is a repository settings change, not a code edit: it needs admin rights to set branch protection or a ruleset on main. Read the CODEOWNERS file and the CI workflow files under .github/workflows to see which checks exist, and check whether the end_to_end_tests job can be removed. Done when the ruleset requires lint, format, unit tests, the clean-install check from #227, the CLA check, a code-owner review and one approval, and a PR with a failing required check is shown to be blocked from merging. Wait for #227 before removing end_to_end_tests.

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

Descrizione

Task

A repository admin sets branch protection (or a ruleset) on main:

  • required status checks: lint, format, unit tests, the clean-install check (#227), the CLA check;
  • a required review from code owners (CODEOWNERS: * @mlcommons/wg-chakra);
  • at least one approving review.

Probably can remove/disable end_to_end_tests since it only runs each tool with no arguments and accepts exit code 2, so it can't fail. Require #227's clean-install job instead, and remove end_to_end_tests once #227 is in.

Acceptance criteria

  • The settings are in place. Evidence: screenshot or link to the ruleset.
  • A PR with a failing required check can't be merged. Evidence: link to such a PR.
Lingua principale
Python
Stelle
201
Fork
87
Merge medio
6g 43m
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 mlcommons/chakra

Tutte le issue di mlcommons/chakra

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.