actions-marketplace-validations/Issue Forms Dropdown Options

Populates options for a version dropdown issue forms element

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGithub token${{ github.token }}
templateThe location of the template file used to build the form, useful for ease of maintenance. Dynamic dropdowns will persist between action runs. Static dropdowns (dropdowns with populated options) take precedence over their built counterpart, meaning that you should not edit the built form ever, see https://github.com/ShaMan123/gha-form-dropdown-options/pull/2/commits/7cbd904caccb60c9bf52f066d11b303e439fe598. This behavior makes sense but could have been handled with ease if flagging dynamic dropdowns in forms was possible. It might change to a stricter approach in the future using id prefixing. It is suggested using the template option once in the first step updating the form and omitting it afterwards.
formThe location of the yaml form fileyes
dropdownThe id of the dropdown in the yaml form to populate options into Prefix the id with the value of `id_prefix`, see `strategy` for more details yes
optionsA stringified array of options Supports the dynamic substitution templates: `{...}`, `{{...}}` yes
labelThe label of the dropdown Supports the dynamic substitution templates: `{...}`, `{{...}}`
descriptionThe description of the dropdown Supports the dynamic substitution templates: `{...}`, `{{...}}`
uniqueWhether `options` should be unique true
commit_messagedefaults to `chore(): update [REPORT_NAME]`
strategyThe strategy used to determine if a dropdown is static or not. The `empty-options` strategy determines if a dropdown is dynamic by checking if the template's options are empty. The `id-prefix` strategy determines if a dropdown is dynamic or not by checking its id prefix depending on the value of `id_prefix`. `id-prefix` is strict and allows more flexibility, such as dynamic substitution. The `mixed` strategy uses both. mixed
id_prefixThe prefix used by `strategy` to determine if a dropdown is dynamic _
dry_runPass `no-write` to leave `form` untouched Pass `no-commit` to leave the git history untouched Pass `no-push` to leave the commit untouched
pull_strategyThe git pull strategy to use before pushing changes. Use `ff-only` for fast-forward only (default), or `rebase` to rebase local changes. ff-only
namedescription
formJSON stringified form
modifiedform has been modified by action
pushedpushed to origin