From 43f5ef2beab62118f12216f58502031bdbbf2659 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Wed, 29 Mar 2023 15:32:35 +0400 Subject: [PATCH] Use form template for issues and aligns requirements. --- .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/custom.md | 19 -------------- .github/ISSUE_TEMPLATE/new-link.yaml | 39 ++++++++++++++++++++++++++++ .github/pull_request_template.md | 2 +- 4 files changed, 41 insertions(+), 20 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/custom.md create mode 100644 .github/ISSUE_TEMPLATE/new-link.yaml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..a49eab2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index effd9f2..0000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: New issue -about: Add new link or fix content -title: '' -labels: '' -assignees: kdeldycke ---- - -#### Preliminary checks - -- [ ] I have [read the Code of Conduct](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/code-of-conduct.md) -- [ ] I applied all rules from the [Contributing guide](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/contributing.md) -- [ ] I have checked there is not 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 - -#### Summary - - - -Explain the motivation for making this change. What does does this bring to the table? diff --git a/.github/ISSUE_TEMPLATE/new-link.yaml b/.github/ISSUE_TEMPLATE/new-link.yaml new file mode 100644 index 0000000..616f84e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-link.yaml @@ -0,0 +1,39 @@ +name: Add new link +description: +labels: ["🆕 new link"] +body: + + - type: checkboxes + id: preliminary-checks + 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" + validations: + required: true + + - type: checkboxes + id: affiliation + attributes: + label: Affiliation + description: > + Please indicate how you are associated with the new proposed content. + options: + - label: "I am the author of the article or project" + - label: "I am working for/with the company which is publishing the article or project" + - label: "I'm just a rando who stumbled upon this via social networks" + 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 \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 713b4bd..22cbb0c 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,7 +2,7 @@ - [ ] I have [read the Code of Conduct](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/code-of-conduct.md) - [ ] I applied all rules from the [Contributing guide](https://github.com/kdeldycke/awesome-falsehood/blob/main/.github/contributing.md) -- [ ] I have checked there is not 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 +- [ ] 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 #### Affiliation