Skip to content

Commit d5cd333

Browse files
committed
chore: add github issue templates
- [x] bug report - [x] feature request - [x] config linking to discussions - [x] fix type in package.json Signed-off-by: jmeridth <[email protected]>
1 parent aa39440 commit d5cd333

File tree

4 files changed

+120
-1
lines changed

4 files changed

+120
-1
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
name: Bug report
3+
description: Create a report to help us improve
4+
labels:
5+
- bug
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Describe the bug
10+
description: A clear and concise description of what the bug is.
11+
validations:
12+
required: true
13+
14+
- type: dropdown
15+
attributes:
16+
label: Related OSPO Tool
17+
description: You may select more than one.
18+
multiple: true
19+
options:
20+
- automatic-contrib-prs GitHub Action
21+
- cleanowners GitHub Action
22+
- contributors GitHub Action
23+
- evergreen GitHub Action
24+
- internal-contribution-forks GitHub App
25+
- issues-metrics GitHub Action
26+
- stale-repos GitHub Action
27+
- other
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
attributes:
33+
label: To Reproduce
34+
description: Steps to reproduce the behavior
35+
placeholder: |
36+
1. Go to '...'
37+
2. Click on '....'
38+
3. Scroll down to '....'
39+
4. See error
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
attributes:
45+
label: Expected behavior
46+
description: A clear and concise description of what you expected to happen.
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
attributes:
52+
label: Screenshots
53+
description: If applicable, add screenshots to help explain your problem.
54+
validations:
55+
required: false
56+
57+
- type: textarea
58+
attributes:
59+
label: Additional context
60+
description: Add any other context about the problem here.
61+
validations:
62+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
- name: Ask a question
5+
url: https://github.com/github/github-ospo/discussions/new
6+
about: Ask a question or start a discussion
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: Feature request
3+
description: Suggest an idea for this project
4+
labels:
5+
- enhancement
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Is your feature request related to a problem?
10+
description: A clear and concise description of what the problem is. Please describe.
11+
placeholder: |
12+
Ex. I'm always frustrated when [...]
13+
validations:
14+
required: false
15+
16+
- type: dropdown
17+
attributes:
18+
label: Related OSPO Tool
19+
description: You may select more than one.
20+
multiple: true
21+
options:
22+
- automatic-contrib-prs GitHub Action
23+
- cleanowners GitHub Action
24+
- contributors GitHub Action
25+
- evergreen GitHub Action
26+
- internal-contribution-forks GitHub App
27+
- issues-metrics GitHub Action
28+
- stale-repos GitHub Action
29+
validations:
30+
required: false
31+
32+
- type: textarea
33+
attributes:
34+
label: Describe the solution you'd like
35+
description: A clear and concise description of what you want to happen.
36+
validations:
37+
required: true
38+
39+
- type: textarea
40+
attributes:
41+
label: Describe alternatives you've considered
42+
description: A clear and concise description of any alternative solutions or features you've considered.
43+
validations:
44+
required: false
45+
46+
- type: textarea
47+
attributes:
48+
label: Additional context
49+
description: Add any other context or screenshots about the feature request here.
50+
validations:
51+
required: false

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "The purpose of this repo is to enable new OSPOs to be successful on GitHub",
66
"scripts": {
7-
"fix": "markdownlint-cli2-fix \"**/*.md\" && prettier -w .",
7+
"fix": "markdownlint-cli2 -fix \"**/*.md\" && prettier -w .",
88
"test": "markdownlint-cli2 \"**/*.md\" && prettier -c ."
99
},
1010
"license": "MIT",

0 commit comments

Comments
 (0)