From d7125e99e9a4e81b66752d74a59452853821a560 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 6 Dec 2023 18:29:25 +0300 Subject: [PATCH] fix yaml lint #66 --- .github/ISSUE_TEMPLATE/config.yml | 32 ++++++------- .github/ISSUE_TEMPLATE/feature_request.md | 20 -------- .github/ISSUE_TEMPLATE/task_generic.md | 17 ------- .../{bug.yml => template-bug.yml} | 48 +++++++------------ .../{feature.yml => template-feature.yml} | 25 +++------- .../{question.yml => template-question.yml} | 26 +++------- .../{task.yml => template-task.yml} | 28 +++-------- 7 files changed, 53 insertions(+), 143 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/ISSUE_TEMPLATE/task_generic.md rename .github/ISSUE_TEMPLATE/{bug.yml => template-bug.yml} (77%) rename .github/ISSUE_TEMPLATE/{feature.yml => template-feature.yml} (55%) rename .github/ISSUE_TEMPLATE/{question.yml => template-question.yml} (52%) rename .github/ISSUE_TEMPLATE/{task.yml => template-task.yml} (52%) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index cc95ff3..073ed94 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,28 +1,28 @@ blank_issues_enabled: true contact_links: - - name: metamod-r GitHub Repo + - name: "metamod-r GitHub Repo" url: https://github.com/theAsmodai/metamod-r - about: Official repo + about: "Official repo" - name: metamod-r GitHub Documentation url: https://github.com/theAsmodai/metamod-r/wiki - about: Documentation - - name: metamod-r on dev-cs.ru + about: "Documentation" + - name: "metamod-r on dev-cs.ru" url: https://dev-cs.ru/resources/208/ - about: Thread at community forum - - name: metamod-r site + about: "Thread at community forum" + - name: "metamod-r site" url: https://metamod-r.org/ - about: Official site - - name: ReHLDS GitHub Repo + about: "Official site" + - name: "ReHLDS GitHub Repo" url: https://github.com/dreamstalker/ReHLDS - about: Reverse-engineered HLDS - - name: ReHLDS GitHub Documentation + about: "Reverse-engineered HLDS" + - name: "ReHLDS GitHub Documentation" url: https://github.com/dreamstalker/ReHLDS/wiki - about: Reverse-engineered HLDS Documentation - - name: ReHLDS on dev-cs.ru (RU) + about: "Reverse-engineered HLDS Documentation" + - name: "ReHLDS on dev-cs.ru (RU)" url: https://dev-cs.ru/resources/64/ - about: Thread at community forum - - name: ReHLDS on cs.rin.ru (EN) + about: "Thread at community forum" + - name: "ReHLDS on cs.rin.ru (EN)" url: https://cs.rin.ru/forum/viewtopic.php?f=29&t=67651 - about: Thread at community forum - - name: ReHLDS site + about: "Thread at community forum" + - name: "ReHLDS site" url: https://rehlds.ru/ diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index cdcdcb5..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '[Feature request]: ' -labels: 'Engine: Independent, Priority: Medium, OS: Independent, Status: Available, Type: Rrequest' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/task_generic.md b/.github/ISSUE_TEMPLATE/task_generic.md deleted file mode 100644 index de789ee..0000000 --- a/.github/ISSUE_TEMPLATE/task_generic.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Generic task -about: Create a generic task -title: '[TASK]: ' -labels: 'Engine: Independent, Priority: Medium, OS: Independent, Status: Available, Type: Task' -assignees: '' - ---- - -**Describe** -A clear and concise description of what the issue is. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/template-bug.yml similarity index 77% rename from .github/ISSUE_TEMPLATE/bug.yml rename to .github/ISSUE_TEMPLATE/template-bug.yml index ee4cf50..808d869 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/template-bug.yml @@ -1,17 +1,13 @@ name: Bug Report description: A generic bug report title: "[BUG]: " -labels: ["Type: Bug", "Status: Available"] -#projects: ["octo-org/1", "octo-org/44"] +labels: "[Type: Bug, Status: Available]" assignees: - s1lentq -# - theAsmodai -# - stamepicmorg body: - type: markdown attributes: - value: | - Thanks for taking the time to fill out this bug report! + value: Thanks for taking the time to fill out this bug report! - type: input id: contact attributes: @@ -26,7 +22,7 @@ body: label: What happened? description: Also tell us, what did you expect to happen? placeholder: Tell us what you see! - value: "A bug happened!" + value: A bug happened! validations: required: true - type: dropdown @@ -77,17 +73,17 @@ body: label: What version of engine are you seeing the problem on? multiple: true options: - - HLDS (5758) #Windows - - HLDS (5787) #Linux - - HLDS (6132) #Both - - HLDS (6153) #Both - - HLDS (6153b) #Both - - HLDS (7561) #Windows - - HLDS (7559) #Linux - - HLDS (7882) #Linux - - HLDS (8308) #Both - - HLDS (8196) #Linux - - HLDS (8684) #Both + - HLDS (5758) Windows + - HLDS (5787) Linux + - HLDS (6132) Both + - HLDS (6153) Both + - HLDS (6153b) Both + - HLDS (7561) Windows + - HLDS (7559) Linux + - HLDS (7882) Linux + - HLDS (8308) Both + - HLDS (8196) Linux + - HLDS (8684) Both - reHLDS (Nightly CI build) - reHLDS (3.13.0.788) - reHLDS (3.12.0.780) @@ -150,16 +146,6 @@ body: label: Relevant log output description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. render: shell - validations: - required: true -# - type: checkboxes -# id: terms -# attributes: -# label: Code of Conduct -# description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) -# options: -# - label: I agree to follow this project's Code of Conduct -# required: true -- type: markdown - attributes: - value: "Thanks for completing our form!" \ No newline at end of file + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/template-feature.yml similarity index 55% rename from .github/ISSUE_TEMPLATE/feature.yml rename to .github/ISSUE_TEMPLATE/template-feature.yml index d277d77..bec5fac 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/template-feature.yml @@ -1,19 +1,16 @@ -name: Feature request +name: New Feature description: Suggest an idea for this project title: "[Feature request]: " labels: "Engine: Independent, Priority: Medium, OS: Independent, Status: Available, Type: Rrequest" -#projects: ["octo-org/1", "octo-org/44"] assignees: - s1lentq -# - theAsmodai - stamepicmorg body: - type: markdown attributes: - value: | - Thanks for taking the time to fill out this Feature request! + value: Thanks for taking the time to fill out this Feature request! - type: input - id: contact + id: contact-task attributes: label: Contact Details (optional) description: How can we get in touch with you if we need more info? @@ -26,17 +23,9 @@ body: label: Tell us more about your idea description: Tell us what you expect from the project and the developers? placeholder: Tell us about your idea! - value: "I have an idea!" + value: I have an idea! validations: required: true -# - type: checkboxes -# id: terms -# attributes: -# label: Code of Conduct -# description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) -# options: -# - label: I agree to follow this project's Code of Conduct -# required: true -- type: markdown - attributes: - value: "Thanks for completing our form!" \ No newline at end of file + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/template-question.yml similarity index 52% rename from .github/ISSUE_TEMPLATE/question.yml rename to .github/ISSUE_TEMPLATE/template-question.yml index 869a057..3bea7ce 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/template-question.yml @@ -1,17 +1,11 @@ name: Question description: Create some Question for this project -title: "[TASK]: " +title: "[Question]: " labels: "Engine: Independent, Priority: Medium, OS: Independent, Status: Available, Type: Question" -#projects: ["octo-org/1", "octo-org/44"] -#assignees: -# - s1lentq -# - theAsmodai -# - stamepicmorg body: - type: markdown attributes: - value: | - Thanks for taking the time to fill out this Question! + value: Thanks for taking the time to fill out this Question! - type: input id: contact attributes: @@ -26,17 +20,9 @@ body: label: Tell us more about your Question description: What happened? placeholder: Tell us about your Question! - value: "I have an Question!" + value: I have an Question! validations: required: true -# - type: checkboxes -# id: terms -# attributes: -# label: Code of Conduct -# description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) -# options: -# - label: I agree to follow this project's Code of Conduct -# required: true -- type: markdown - attributes: - value: "Thanks for completing our form!" \ No newline at end of file + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/template-task.yml similarity index 52% rename from .github/ISSUE_TEMPLATE/task.yml rename to .github/ISSUE_TEMPLATE/template-task.yml index c44bf2d..6ad30d7 100644 --- a/.github/ISSUE_TEMPLATE/task.yml +++ b/.github/ISSUE_TEMPLATE/template-task.yml @@ -1,19 +1,13 @@ -name: Generic task +name: Task description: Create some generic task for this project title: "[TASK]: " labels: "Engine: Independent, Priority: Medium, OS: Independent, Status: Available, Type: Task" -#projects: ["octo-org/1", "octo-org/44"] -#assignees: -# - s1lentq -# - theAsmodai -# - stamepicmorg body: - type: markdown attributes: - value: | - Thanks for taking the time to fill out this Task! + value: Thanks for taking the time to fill out this Task! - type: input - id: contact + id: contact-feature attributes: label: Contact Details (optional) description: How can we get in touch with you if we need more info? @@ -26,17 +20,9 @@ body: label: Tell us more about your task description: Tell us what you want from the project and the developers? placeholder: Tell us about your task! - value: "I have an task!" + value: I have an task! validations: required: true -# - type: checkboxes -# id: terms -# attributes: -# label: Code of Conduct -# description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) -# options: -# - label: I agree to follow this project's Code of Conduct -# required: true -- type: markdown - attributes: - value: "Thanks for completing our form!" \ No newline at end of file + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file