Skip the Windows job when a branch changes only the manual
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
- 85/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, yaml
- Ambito
- ci-cd
Direzione di ricerca
Leggi .github/workflows/ci.yml e il job changes che emette code. Aggiungi un output windows false per le modifiche docs/manual/ e gate il job windows su di esso, lasciando linux e manual su code. Conferma con un branch che modifica solo docs/manual/labyrinth.md che Windows viene saltato ma i check richiesti passano.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Read first
.github/workflows/ci.yml: thechangesjob and theif:on thelinux,manualandwindowsjobs- Conventions, section 9: tests
Read these before starting. If this issue and the spec disagree, the spec wins; say so in the pull request.
Summary
A branch that only edits the operator manual (docs/manual/) runs the full Windows job, about 18 minutes, although no Windows test reads the manual. Only the Linux job (tests/manual/manual.bats) and the Manuals job check it. Skipping the Windows job for manual-only branches saves that time on every documentation pass.
Depends on
Nothing.
Location & Context
.github/workflows/ci.yml, thechangesjob: one output,code, gates all three test jobs.docs/manual/*setscode=true.tests/manual/manual.batsreadsdocs/manual/labyrinth.md.tests/runner/Help.Tests.ps1only checks that the help names the manual's path, not its content.
Current Behavior
A change to docs/manual/ alone runs the Linux, Manuals and Windows jobs. The Windows job adds about 18 minutes and tests nothing that changed.
Plan
- Give the
changesjob a second output,windows, that is true when the branch changes anything other than the paths the job skips today anddocs/manual/. - Gate the
windowsjob onwindows, and keeplinuxandmanualoncode. - Keep every push to
mainrunning all jobs.
Acceptance tests
- A branch changing only
docs/manual/labyrinth.mdruns the Linux and Manuals jobs and skips Windows; the required checks still pass. - A branch changing a
.ps1file, or any file outside the skipped paths, runs all three. - A push to
mainruns all three.
Done when
- The three cases above are shown on test branches, and the PR lists their run links.
Out of scope
- Splitting the Linux job's own steps.
- The Docs workflow (
docs.yml).
- Lingua principale
- PowerShell
- Stelle
- 0
- Fork
- 0
- Merge medio
- 54m
- PR unite (30g)
- 43
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dotnetdork/Labyrinth
-
area: command-line platform: linux platform: windows type: docs
Difficoltà 4/5 3-5 giorni Idoneità per principianti 70/100
dotnetdork/Labyrinth#125 ·
I maintainer di solito rispondono entro 1 giorno
-
area: tests-ci platform: windows type: build
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
dotnetdork/Labyrinth#124 ·
I maintainer di solito rispondono entro 1 giorno
-
area: command-line platform: linux platform: windows type: feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 70/100
dotnetdork/Labyrinth#121 ·
I maintainer di solito rispondono entro 1 giorno
-
area: command-line platform: linux platform: windows type: feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 70/100
dotnetdork/Labyrinth#120 ·
I maintainer di solito rispondono entro 1 giorno
-
area: command-line platform: linux platform: windows type: feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 70/100
dotnetdork/Labyrinth#119 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di dotnetdork/Labyrinth
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
GoogleCloudPlatform/gce-rescue#218 ·
I maintainer di solito rispondono entro 2 giorni
-
area:docs Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
alvinunreal/oh-my-opencode-slim#1753 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
sims1253/ry#851 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno