workflow_dispatch inputs: description, default and options are not documented
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 80/100
- Issue-Typ
- Dokumentation
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github-actions
- Bereich
- documentation
Rechercherichtung
Im Artikel zur Workflow-Syntax fehlt im Abschnitt on.workflow_dispatch.inputs.<input_id> etwas: Er behandelt nur required und type. Lies die Eingabedefinitionen von workflow_dispatch in workflow-parser/src/workflow-v1.0.json (actions/languageservices), um zu bestätigen, was description, default und options bedeuten, und prüfe data/reusables/actions/workflow-dispatch-inputs-example.md für die Verwendung. Fertig ist, wenn jeder Schlüssel einen eigenen kurzen Unterabschnitt hat und options angibt, dass es nur für choice-Eingaben gilt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The on.workflow_dispatch.inputs.<input_id> section documents only required and type. The description, default and options keys are not documented as headings, although the example on the same page uses all three (options for a choice input).
The workflow schema in actions/languageservices (workflow-parser/src/workflow-v1.0.json, at fb5c6e4) defines these keys for workflow_dispatch inputs:
description: a string description of the input parameter.default: used when an input parameter isn't specified in a workflow file.options: a sequence of strings; the options of the dropdown list, if the type ischoice.
Suggested change: add a short section for each of on.workflow_dispatch.inputs.<input_id>.description, .default and .options, with the options section stating that it applies only to choice inputs.
Additional information
The example in data/reusables/actions/workflow-dispatch-inputs-example.md already shows options with type: choice.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 21k
- Forks
- 69.1k
- Ø Merge
- 14 Std. 57 Min.
- Gemergte PRs (30 T.)
- 114
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/docs
-
Update VS Code instructions for creating a prompt fileEvtl. vergeben @ashis-baral hat das vor 1 Tag übernommen. Offencontent
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
actions builder persona
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
github/docs#46304 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
actions builder persona
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
github/docs#46303 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
actions builder persona
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/docs#46302 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Broken page layout on non-English translated versions of "Models and pricing for GitHub Copilot"Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offencontent localization
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
github/docs#46269 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
vicharanashala/ajrasakha#1439 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add: TV5Monde AsieOffenapproved check:passed streams:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
backnotprop/plannotator#1932 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 62/100
ibm-granite/granite.build#504 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
reproduced
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
anomalyco/opencode#55676 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag