workflow_dispatch inputs: description, default and options are not documented
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 80/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions
調査の方向性
ワークフロー構文の記事にある on.workflow_dispatch.inputs.<input_id> のセクションには、required と type しか記載されていません。actions/languageservices の workflow-parser/src/workflow-v1.0.json にある workflow_dispatch の入力定義を読み、description、default、options の意味を確認してください。使用例は data/reusables/actions/workflow-dispatch-inputs-example.md を確認してください。各キーに短いサブセクションがあり、options が choice 入力にのみ適用されると書かれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 21k
- フォーク
- 69.1k
- 平均マージ
- 6時間 37分
- マージ済み PR(30日)
- 109
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/docs のほかの issue
-
builder persona content copilot
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
github/docs#46334 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Update VS Code instructions for creating a prompt file対応中かも @ashis-baral が 2 日前に担当しました。 オープンcontent
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
actions builder persona
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/docs#46304 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
actions builder persona
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
github/docs#46303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
actions builder persona
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/docs#46302 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
bug category:ai category:devices effort:s
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LanternOps/breeze#8943 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
area:reliability difficulty:easy help wanted points:100 Stellar Wave
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
Divinity-Labs/Lens#341 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信