github - Github问题表单:根据下拉添加标签
问题描述
我目前正在 Github 上查看基于 YAML 的新问题模板,并希望实现一个系统,根据问题创建者从下拉列表中选择的值,将标签分配给问题。
我在这方面找不到任何东西。例如,我有以下错误模板:
name: Bug Report
description: File a bug report
labels: [triage]
body:
- type: dropdown
id: bug-type
attributes:
label: Project
multiple: true
options:
- API
- WebUI
validations:
required: true
如何根据下拉列表的选择添加标签“api”和/或“webui”?
解决方案
推荐阅读
- css - 我是保留子主题还是仅移动/使用父主题?
- python - Dask 字典到延迟对象适配器
- r - Beamer 演示中的比例回归摘要
- python - python搜索用户名
- python - 将加速器数据集移动到另一台计算机
- c++ - 删除在 delete_scalar.cpp 中的“_CRTDECL operator delete”中触发异常
- javascript - 为什么在 JavaScript 矩格式中包含年份时 HH:mm 00:00?
- permissions - 用于访问 Google Cloud Storage 上的 HTML 文件的 Google Data Studio 服务帐户
- python - Windows Docker - 在 python 中安装 Spacy 语言模型返回 ImportError:DLL 加载失败:找不到指定的模块
- azure - 无法将 Service Fabric SDK 4.1.409 安装到 Windows 10 笔记本电脑