Revisit GitHub issue template

Prior to this commit, this repository had a single issue template
markdown file that listed all the information for creating a new issue
in this project. Because there was a lot, people missed warnings against
creating security reports publicly or asking questions in the issue
tracker.

This commit introduces an issue template configuration that provides
developers with a choice before creating the actual issue.

Closes gh-33711
This commit is contained in:
Brian Clozel
2024-10-15 17:36:48 +02:00
parent 7f7de55b67
commit 3bc2c91eff
3 changed files with 32 additions and 17 deletions

9
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: Security issue
url: https://github.com/spring-projects/security-advisories/security/advisories/new
about: Security issues must be disclosed and discussed in private. See https://spring.io/security-policy
- name: Asking for help
url: https://stackoverflow.com/tags/spring
about: The Spring team is using StackOverflow for questions.

23
.github/ISSUE_TEMPLATE/issue.md vendored Normal file
View File

@@ -0,0 +1,23 @@
---
name: Issue
about: Bugs, enhancements, documentation, tasks.
title: ''
labels: ''
assignees: ''
---
<!--
Have you considered asking for help on stackoverflow.com?
** Bug Reports **
Please submit issues against OSS supported versions, see https://spring.io/projects/spring-framework#support
Please provide a minimal sample application that reproduces the problem for faster issue triage.
** Enhancements requests **
Before explaining how you would like things to work,
please describe a concrete use case for this feature and how you have tried to solve this so far.
-->