diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 6ce8244f61b..00000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,21 +0,0 @@ -### Precheck - -* For proposing a new feature, please start a discussion on the Elixir Core mailing list: https://groups.google.com/group/elixir-lang-core -* For bugs, do a quick search and make sure the bug has not yet been reported -* Please disclose security vulnerabilities privately at elixir-security@googlegroups.com -* Do not use the issues tracker for guidance, questions or support (try Elixir Forum, Stack Overflow, Slack, etc. instead) -* Finally, be nice and have fun! - -### Environment - -* Elixir & Erlang/OTP versions (elixir --version): -* Operating system: - -### Current behavior - -Include code samples, errors and stacktraces if appropriate. -If reporting a bug, please include the reproducing steps. - -### Expected behavior - -A short description on how you expect the code to behave. diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000000..4f3ca0484ba --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,38 @@ +name: 🐞 Bug Report +description: Tell us about something that's not working the way we (probably) intend. +body: + - type: input + id: elixir-and-otp-version + attributes: + label: Elixir and Erlang/OTP versions + description: Paste the output of `elixir -v` here. + validations: + required: true + + - type: input + id: os + attributes: + label: Operating System + description: The operating system that this issue is happening on. + validations: + required: true + + - type: textarea + id: current-behavior + attributes: + label: Current behavior + description: Include code samples, errors and stacktraces if appropriate. If reporting a bug, please include the reproducing steps. + placeholder: |- + 1. foo + 2. bar + 3. baz + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A short description on how you expect the code to behave. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..6a705053187 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,10 @@ +blank_issues_enabled: true + +contact_links: + - name: Discuss proposals + url: https://groups.google.com/g/elixir-lang-core + about: Send proposals for new ideas in the mailing list. + - name: Ask questions + url: https://elixirforum.com/ + about: Ask and answer questions on ElixirForum. +