diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index e39b8d54b..a7ebed1cf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,41 +1,48 @@ -name: Bug Report -description: File a bug report -title: "[Bug]: " -labels: ["bug-candidate"] -body: - - type: markdown - attributes: - value: > - Please check the issues tab to avoid duplicates. - Thanks for taking the time to fill out this bug report! - - type: textarea - id: what-happened - attributes: +--- +body: + - + attributes: + value: | + Please check the issues tab to avoid duplicates. + Thanks for taking the time to fill out this bug report! + type: markdown + - + attributes: label: "Describe the issue:" - validations: + id: what-happened + type: textarea + validations: required: true - - type: textarea + - + attributes: + description: "It can be a github repo, etherscan link, or code snippet." + label: "Code example to reproduce the issue:" + placeholder: "`contract A {}`\n" id: reproduce - attributes: - label: "Reproduce the code example: - description: > - It can be a github repo, etherscan link, or code snippet. - placeholder: "contract A {}" - validations: + type: textarea + validations: required: true - - type: textarea - id: version - attributes: + - + attributes: + description: | + What version of slither are you running? + Run `slither --version` label: "Version:" - description: What version of slither are you running? Run `slither --version` - placeholder: 0.8.2 - validations: + id: version + type: textarea + validations: required: true - - type: textarea + - + attributes: + description: | + Please copy and paste any relevant log output. This + will be automatically formatted into code, so no need for backticks. + render: shell + label: "Relevant log output:" id: logs - attributes: - label: Relevant log output - description: > - Please copy and paste any relevant log output. This - will be automatically formatted into code, so no need for backticks. - render: shell + type: textarea +description: "File a bug report" +labels: + - bug-candidate +name: "Bug Report" +title: "[Bug-Candidate]: "