From ecd92e3bae20b0f2c3ea11ce7b30b25840eabd4e Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Mon, 12 Jul 2021 12:20:58 +0900 Subject: [PATCH] chore: Convert templates to YAML issue forms --- .github/ISSUE_TEMPLATE/1_user_support.md | 37 ---------------- .github/ISSUE_TEMPLATE/1_user_support.yml | 52 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/2_bug_report.md | 54 ----------------------- .github/ISSUE_TEMPLATE/2_bug_report.yml | 52 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/3_proposal.md | 26 ----------- .github/ISSUE_TEMPLATE/3_proposal.yml | 45 +++++++++++++++++++ 6 files changed, 149 insertions(+), 117 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/1_user_support.md create mode 100644 .github/ISSUE_TEMPLATE/1_user_support.yml delete mode 100644 .github/ISSUE_TEMPLATE/2_bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/2_bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/3_proposal.md create mode 100644 .github/ISSUE_TEMPLATE/3_proposal.yml diff --git a/.github/ISSUE_TEMPLATE/1_user_support.md b/.github/ISSUE_TEMPLATE/1_user_support.md deleted file mode 100644 index 86e008c4b..000000000 --- a/.github/ISSUE_TEMPLATE/1_user_support.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -name: User Support -about: Questions for this Action -title: 'sample_title' -labels: support -assignees: peaceiris ---- - - - -### Check list before opening this issue - -- [ ] I read the latest README - - I am using the latest version of this action - - I checked [Available Options](https://github.com/peaceiris/actions-gh-pages#options) - - I followed [Tips and FAQ](https://github.com/peaceiris/actions-gh-pages#tips-and-faq) - - I tried [Workflow Examples](https://github.com/peaceiris/actions-gh-pages#examples) - - I read the latest GitHub Actions official documentation and learned the basic spec and concepts - -### Describe your question - - - -### Link to your contents - - - -### Screenshots - - - -### Additional context - - diff --git a/.github/ISSUE_TEMPLATE/1_user_support.yml b/.github/ISSUE_TEMPLATE/1_user_support.yml new file mode 100644 index 000000000..0f8d8105f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_user_support.yml @@ -0,0 +1,52 @@ +name: User Support +description: Questions for this action +title: "" +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.md b/.github/ISSUE_TEMPLATE/2_bug_report.md deleted file mode 100644 index db3fa9124..000000000 --- a/.github/ISSUE_TEMPLATE/2_bug_report.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -name: Bug Report -about: First, use the User Support Issue Template -title: 'sample_title' -labels: bug -assignees: peaceiris - ---- - - - -### Check list before opening this issue - -- [ ] [GitHub Status](https://www.githubstatus.com/) is good -- [ ] I read the latest README - - I am using the latest version of this action - - I checked [Available Options](https://github.com/peaceiris/actions-gh-pages#options) - - I followed [Tips and FAQ](https://github.com/peaceiris/actions-gh-pages#tips-and-faq) - - I tried [Workflow Examples](https://github.com/peaceiris/actions-gh-pages#examples) -- [ ] I read the latest GitHub Actions official documentation and learned the basic spec and concepts - -### Describe the bug - - - -### To Reproduce - - - -### Expected behavior - - - -### Screenshots - - - -### Your YAML file - - - -### Additional context - - diff --git a/.github/ISSUE_TEMPLATE/2_bug_report.yml b/.github/ISSUE_TEMPLATE/2_bug_report.yml new file mode 100644 index 000000000..81563629e --- /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: '' +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.md b/.github/ISSUE_TEMPLATE/3_proposal.md deleted file mode 100644 index 13cc17cea..000000000 --- a/.github/ISSUE_TEMPLATE/3_proposal.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Proposal -about: Suggest an idea for this project -title: 'sample_title' -labels: proposal -assignees: peaceiris - ---- - - - -### Is your feature request related to a problem? Please describe - - - -### Describe the solution you'd like - - - -### Describe alternatives you've considered - - - -### Additional context - - diff --git a/.github/ISSUE_TEMPLATE/3_proposal.yml b/.github/ISSUE_TEMPLATE/3_proposal.yml new file mode 100644 index 000000000..86e8c9d6d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3_proposal.yml @@ -0,0 +1,45 @@ +name: Proposal +description: Suggest an idea for this project +title: '' +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