From f3b4c5d41127e67d0455c18d6fbcb4b77dd6ae42 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Fri, 6 Oct 2023 03:30:38 +0300 Subject: [PATCH] Update issue templates --- .../{channels_add.yml => __channels_add.yml} | 0 ...{channels_edit.yml => __channels_edit.yml} | 0 ...nnels_remove.yml => __channels_remove.yml} | 0 .github/ISSUE_TEMPLATE/_blocklist_add.yml | 28 +++++++++++++++++++ .github/ISSUE_TEMPLATE/_blocklist_remove.yml | 28 +++++++++++++++++++ 5 files changed, 56 insertions(+) rename .github/ISSUE_TEMPLATE/{channels_add.yml => __channels_add.yml} (100%) rename .github/ISSUE_TEMPLATE/{channels_edit.yml => __channels_edit.yml} (100%) rename .github/ISSUE_TEMPLATE/{channels_remove.yml => __channels_remove.yml} (100%) create mode 100644 .github/ISSUE_TEMPLATE/_blocklist_add.yml create mode 100644 .github/ISSUE_TEMPLATE/_blocklist_remove.yml diff --git a/.github/ISSUE_TEMPLATE/channels_add.yml b/.github/ISSUE_TEMPLATE/__channels_add.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/channels_add.yml rename to .github/ISSUE_TEMPLATE/__channels_add.yml diff --git a/.github/ISSUE_TEMPLATE/channels_edit.yml b/.github/ISSUE_TEMPLATE/__channels_edit.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/channels_edit.yml rename to .github/ISSUE_TEMPLATE/__channels_edit.yml diff --git a/.github/ISSUE_TEMPLATE/channels_remove.yml b/.github/ISSUE_TEMPLATE/__channels_remove.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/channels_remove.yml rename to .github/ISSUE_TEMPLATE/__channels_remove.yml diff --git a/.github/ISSUE_TEMPLATE/_blocklist_add.yml b/.github/ISSUE_TEMPLATE/_blocklist_add.yml new file mode 100644 index 00000000..85627276 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/_blocklist_add.yml @@ -0,0 +1,28 @@ +name: 🔏 Block channel +description: Request to add a channel to the blocklist +title: 'Block: ' +labels: ['blocklist:add'] + +body: + - type: input + id: id + attributes: + label: Channel ID + description: The ID of the channel that should be blocked + placeholder: 'AnhuiTV.cn' + validations: + required: true + + - type: input + id: ref + attributes: + label: Reference + description: Link to the official request for channel removal + placeholder: 'https://github.com/iptv-org/iptv/issues/1831' + validations: + required: true + + - type: textarea + attributes: + label: Notes (optional) + description: 'Any additional information' diff --git a/.github/ISSUE_TEMPLATE/_blocklist_remove.yml b/.github/ISSUE_TEMPLATE/_blocklist_remove.yml new file mode 100644 index 00000000..4e02b489 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/_blocklist_remove.yml @@ -0,0 +1,28 @@ +name: 🕊️ Unblock channel +description: Request to remove a channel from the blocklist +title: 'Unblock: ' +labels: ['blocklist:remove'] + +body: + - type: input + attributes: + label: Channel ID (required) + description: The ID of the channel that should be removed + placeholder: 'AnhuiTV.cn' + validations: + required: true + + - type: dropdown + attributes: + label: Reason (required) + description: Select the reason for removal from the list below + options: + - 'Invalid channel id' + - 'Other' + validations: + required: true + + - type: textarea + attributes: + label: Notes + description: 'Any additional information'