diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.md b/.github/ISSUE_TEMPLATE/01_bug_report.md deleted file mode 100644 index c6caad9827..0000000000 --- a/.github/ISSUE_TEMPLATE/01_bug_report.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Bug report -about: Something not working as expected - ---- - -## Current behavior - - - -## Expected behavior - - - -## Environment - -- **semantic-release** version: -- CI environment: -- Plugins used: -- **semantic-release** configuration: -- CI logs: diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.yml b/.github/ISSUE_TEMPLATE/01_bug_report.yml new file mode 100644 index 0000000000..60bb18c003 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01_bug_report.yml @@ -0,0 +1,51 @@ +name: Bug Report +description: Something not working as expected +body: + - type: textarea + attributes: + label: Current behavior + description: Describe how the issue manifests. + validations: + required: true + + - type: textarea + attributes: + label: Expected behavior + description: Describe what the desired behavior would be. + validations: + required: true + + - type: input + attributes: + label: "`semantic-release` version" + description: Version set in `package.json` `devDpendencies`. + validations: + required: true + + - type: input + attributes: + label: CI environment + description: CI service name. + validations: + required: true + + - type: textarea + attributes: + label: Plugins used + description: List `semantic-release` plugin used, if any. + validations: + required: false + + - type: textarea + attributes: + label: "`semantic-release` configuration" + description: Link to your repository or relevant part of the `semantic-release` config. + validations: + required: true + + - type: textarea + attributes: + label: CI logs + description: Link to your CI logs or `semantic-release` logs. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/02_feature_request.md b/.github/ISSUE_TEMPLATE/02_feature_request.md deleted file mode 100644 index 901e2227f2..0000000000 --- a/.github/ISSUE_TEMPLATE/02_feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Wouldn’t it be nice if semantic-release could ... - ---- - -## New feature motivation - - - -## New feature description - - - -## New feature implementation - - diff --git a/.github/ISSUE_TEMPLATE/02_feature_request.yml b/.github/ISSUE_TEMPLATE/02_feature_request.yml new file mode 100644 index 0000000000..dadecf4fb0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02_feature_request.yml @@ -0,0 +1,23 @@ +name: Feature request +description: Wouldn't it be nice if `semantic-release` could ... +body: + - type: textarea + attributes: + label: New feature motivation + description: Describe the context, the use-case and the advantages of the feature request. + validations: + required: true + + - type: textarea + attributes: + label: New feature description + description: Describe the functional changes that would have to be made in `semantic-release` or its plugins. + validations: + required: true + + - type: textarea + attributes: + label: New feature implementation + description: Optionally describe the technical changes to be made in `semantic-release` or its plugins. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/03_plugin_suggestion.md b/.github/ISSUE_TEMPLATE/03_plugin_suggestion.md deleted file mode 100644 index ed68b5a7e0..0000000000 --- a/.github/ISSUE_TEMPLATE/03_plugin_suggestion.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: New plugin suggestion -about: Integrate with a new platform, etc - ---- - -## New plugin motivation - - - -## Third-party documentation - - diff --git a/.github/ISSUE_TEMPLATE/03_plugin_suggestion.yml b/.github/ISSUE_TEMPLATE/03_plugin_suggestion.yml new file mode 100644 index 0000000000..be0a15b7ad --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03_plugin_suggestion.yml @@ -0,0 +1,16 @@ +name: New plugin suggestion +description: Integrate with a new platform, etc +body: + - type: textarea + attributes: + label: New plugin motivation + description: Describe the reasons to create a new plugin and why it's not covered by the existing ones. + validations: + required: true + + - type: textarea + attributes: + label: Third-party documentation + description: Provide explanation and documentation links for the platform to integrate with. + validations: + required: true