代码之家  ›  专栏  ›  技术社区  ›  Paul

Github模板yml字段,没有答案

  •  0
  • Paul  · 技术社区  · 4 年前

    我有下面的问题模板,我想这样做时,例如第二个字段 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.
    
    0 回复  |  直到 4 年前
    推荐文章