Py学习  »  Git

Github模板yml字段,没有答案

Paul • 3 年前 • 766 次点击  

我有下面的问题模板,我想这样做时,例如第二个字段 Additional context 为空,则用户不放置任何文本。 当问题产生时,我希望 附加上下文 不可放置的字段。

你能告诉我能不能做到吗?

enter image description here

name: 🐛 Bug Report
description: Create a report to help us improve
title: "🐛 [BUG] - YOUR_DESCRIPTION"
labels: [🐛 bug]
body:
  - type: textarea
    attributes:
      label: Describe the bug
      placeholder: A clear and concise description of what the bug is.
  - type: textarea
    attributes:
      label: Additional context
      placeholder: Add any other context about the problem here.
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/132516
 
766 次点击