From fb860605a8577a397def5ef487ecea46c11c824c Mon Sep 17 00:00:00 2001 From: Adolfo Date: Thu, 23 Feb 2023 18:10:58 +0100 Subject: [PATCH] Issue template v2 (#290) Use issue Report v2: Issue template using the GitHub Forms syntax. --- .github/ISSUE_TEMPLATE.md | 20 ------- .github/ISSUE_TEMPLATE/issue-report.yml | 71 +++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/issue-report.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 1c2f5167..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,20 +0,0 @@ -### Expected behavior -_[what you expected to happen]_ - -### Actual behavior -_[what actually happened]_ - -### Steps to reproduce - -1. ... -2. ... - -### If possible, minimal yet complete reproducer code (or URL to code) - -_[anything to help us reproducing the issue]_ - -### SwiftAWSLambdaRuntime version/commit hash - -_[the SwiftAWSLambdaRuntime tag/commit hash]_ - -### Swift & OS version (output of `swift --version && uname -a`) diff --git a/.github/ISSUE_TEMPLATE/issue-report.yml b/.github/ISSUE_TEMPLATE/issue-report.yml new file mode 100644 index 00000000..e5f5d4e9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue-report.yml @@ -0,0 +1,71 @@ +name: Swift AWS Lambda SDK issue +description: File an issue report with the usage of the Swift AWS Lambda Runtime +body: + - type: markdown + attributes: + value: "Thanks for taking the time to fill out this issue report" + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: What you expected to happen? + placeholder: Describe with your own words the expected result + validations: + required: true + - type: textarea + id: what-happend + attributes: + label: Actual behavior + description: What actually happened + placeholder: Describe + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to reproduce + description: List the steps followed to reproduce the behaviour you are reporting + placeholder: | + 1. First I... + 2. Then... + 3. Finally... + validations: + required: true + - type: textarea + id: code-snippet + attributes: + label: If possible, minimal yet complete reproducer code (or URL to code) + description: List the steps followed to reproduce the behaviour you are reporting + placeholder: | + You can add any relevant code snippet that you consider or an URL to code. + + URL could be a link to a GitHub Gist, for example + validations: + required: false + - type: input + id: swift-aws-lambda-runtime-version + attributes: + label: What version of this project (`swift-aws-lambda-runtime`) are you using? + description: The release, branch or commit hash related with this issue. + placeholder: 1.0.0-alpha.1 + validations: + required: true + - type: textarea + id: swift-version + attributes: + label: Swift version + description: Swift environment version. + placeholder: | + Open a Terminal and execute the following command + + swift --version && uname -a + validations: + required: true + - type: input + id: amazon-linux-2-version + attributes: + label: Amazon Linux 2 docker image version + description: The docker image tag used to archive the lambda, if available. + placeholder: 5.7.3-amazonlinux2 + validations: + required: false