From 78657af371bfccae4572e37764636449b010a6e7 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Wed, 29 Mar 2023 15:38:15 +0400 Subject: [PATCH] Add field for URL. --- .github/ISSUE_TEMPLATE/new-link.yaml | 35 +++++++++++++++++----------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/new-link.yaml b/.github/ISSUE_TEMPLATE/new-link.yaml index 555c53e..598afa9 100644 --- a/.github/ISSUE_TEMPLATE/new-link.yaml +++ b/.github/ISSUE_TEMPLATE/new-link.yaml @@ -3,14 +3,21 @@ description: You would like to add a new link to the collection labels: ["🆕 new link"] body: - - type: checkboxes - id: preliminary-checks + - type: input + id: link attributes: - label: Preliminary checks - options: - - label: "I have [read the Code of Conduct](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/code-of-conduct.md)" - - label: "I applied all rules from the [Contributing guide](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/contributing.md)" - - label: "I have checked there is no other [Issues](https://github.com/kdeldycke/awesome-falsehood/issues) or [Pull Requests](https://github.com/kdeldycke/awesome-falsehood/pulls) covering the same topic to open" + label: URL of the article or project + validations: + required: true + + - type: textarea + id: summary + attributes: + label: Summary + description: > + Explain the motivation for adding this link. What's special about it to add it to the current collection? + placeholder: | + This link is special because... validations: required: true @@ -27,13 +34,13 @@ body: validations: required: true - - type: textarea - id: summary + - type: checkboxes + id: preliminary-checks attributes: - label: Summary - description: > - Explain the motivation for adding this link. What's special about it to add it to the current collection? - placeholder: | - This link is special because... + label: Preliminary checks + options: + - label: "I have [read the Code of Conduct](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/code-of-conduct.md)" + - label: "I applied all rules from the [Contributing guide](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/contributing.md)" + - label: "I have checked there is no other [Issues](https://github.com/kdeldycke/awesome-falsehood/issues) or [Pull Requests](https://github.com/kdeldycke/awesome-falsehood/pulls) covering the same topic to open" validations: required: true \ No newline at end of file