From 12969d1763255c9381d8037359d9ccbc7f7a726c Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Mon, 12 Jul 2021 12:29:41 +0900 Subject: [PATCH] chore: Convert templates to YAML issue forms --- .github/ISSUE_TEMPLATE/1_user_support.yml | 52 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/2_bug_report.yml | 52 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/3_proposal.yml | 45 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 31 -------------- .github/ISSUE_TEMPLATE/config.yml | 5 +-- .github/ISSUE_TEMPLATE/proposal.md | 20 --------- 6 files changed, 150 insertions(+), 55 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/1_user_support.yml create mode 100644 .github/ISSUE_TEMPLATE/2_bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/3_proposal.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/proposal.md diff --git a/.github/ISSUE_TEMPLATE/1_user_support.yml b/.github/ISSUE_TEMPLATE/1_user_support.yml new file mode 100644 index 0000000..595b791 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_user_support.yml @@ -0,0 +1,52 @@ +name: User Support +description: Questions for this action +title: "support: " +labels: support +assignees: peaceiris +body: + - type: markdown + attributes: + value: + Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information. + - type: checkboxes + attributes: + label: Checklist + description: Checklist before creating an issue. + options: + - label: "I am using the latest version of this aciton." + required: true + - label: "I have read the latest README and followed the instructions." + required: true + - label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts." + required: true + - type: textarea + attributes: + label: Describe your question + description: A clear and concise description of what the question is. + validations: + required: true + - type: textarea + attributes: + label: Relevant links + description: + Links to your public repository, YAML config file, and YAML workflow file. + Please use [a permanent link](https://docs.github.com/en/github/managing-files-in-a-repository/managing-files-on-github/getting-permanent-links-to-files), not a default branch. + render: markdown + value: | + Public repository: + YAML config: + YAML workflow: + validations: + required: true + - type: textarea + attributes: + label: Relevant log output + description: Copy and paste any relevant log output here. + validations: + required: true + - type: textarea + attributes: + label: Additional context. + description: Write any other context about the question here. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/2_bug_report.yml b/.github/ISSUE_TEMPLATE/2_bug_report.yml new file mode 100644 index 0000000..78d5e78 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_bug_report.yml @@ -0,0 +1,52 @@ +name: Bug Report +description: Try the User Support Issue Template first. +title: 'bug: ' +labels: bug +assignees: peaceiris +body: + - type: markdown + attributes: + value: + Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information. + - type: checkboxes + attributes: + label: Checklist + description: Checklist before creating an issue. + options: + - label: "I am using the latest version of this aciton." + required: true + - label: "I have read the latest README and followed the instructions." + required: true + - label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts." + required: true + - type: textarea + attributes: + label: "Describe the bug" + description: "A clear and concise description of what the bug is." + validations: + required: true + - type: textarea + attributes: + label: Relevant links + description: + Links to your public repository, YAML config file, and YAML workflow file. + Please use [a permanent link](https://docs.github.com/en/github/managing-files-in-a-repository/managing-files-on-github/getting-permanent-links-to-files), not a default branch. + render: markdown + value: | + Public repository: + YAML config: + YAML workflow: + validations: + required: true + - type: textarea + attributes: + label: Relevant log output + description: Copy and paste any relevant log output here. + validations: + required: true + - type: textarea + attributes: + label: Additional context. + description: Write any other context about the question here. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/3_proposal.yml b/.github/ISSUE_TEMPLATE/3_proposal.yml new file mode 100644 index 0000000..75b6276 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3_proposal.yml @@ -0,0 +1,45 @@ +name: Proposal +description: Suggest an idea for this project +title: 'proposal: ' +labels: proposal +assignees: peaceiris +body: + - type: markdown + attributes: + value: + Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information. + - type: checkboxes + attributes: + label: Checklist + description: Checklist before creating an issue. + options: + - label: "I am using the latest version of this aciton." + required: true + - label: "I have read the latest README and followed the instructions." + required: true + - label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts." + required: true + - type: textarea + attributes: + label: "Describe your proposal" + description: "A clear and concise description of what the proposal is." + validations: + required: true + - type: textarea + attributes: + label: "Describe the solution you'd like" + description: "A clear and concise description of what you want to happen." + validations: + required: true + - type: textarea + attributes: + label: "Describe alternatives you've considered" + description: "A clear and concise description of any alternative solutions or features you've considered." + validations: + required: true + - type: textarea + attributes: + label: "Additional context" + description: "Add any other context or screenshots about the feature request here." + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 306b507..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: 'Bug: This is a sample issue title' -labels: bug -assignees: peaceiris - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Your YAML file** -- A link to your repository -- A link to your YAML file - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 2a7b7bb..acd2e8b 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -3,9 +3,6 @@ contact_links: - name: GitHub Actions - GitHub Support Community Forum url: https://github.community/c/code-to-cloud/github-actions/41 about: Please ask questions about GitHub Actions here. - - name: The Rust Programming Language Forum - url: https://users.rust-lang.org/ - about: Please ask questions about mdBook and Rust here. - name: GitHub Actions Documentation - url: https://docs.github.com/en/free-pro-team@latest/actions + url: https://docs.github.com/en/actions about: GitHub Actions official documentation here. diff --git a/.github/ISSUE_TEMPLATE/proposal.md b/.github/ISSUE_TEMPLATE/proposal.md deleted file mode 100644 index 46b7c8b..0000000 --- a/.github/ISSUE_TEMPLATE/proposal.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Proposal -about: Suggest an idea for this project -title: 'proposal: This is a sample title' -labels: proposal -assignees: peaceiris - ---- - -**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.