Skip to content

Commit 50d94fd

Browse files
committed
update templates based on tests in our test repo
1 parent eaee555 commit 50d94fd

File tree

4 files changed

+73
-44
lines changed

4 files changed

+73
-44
lines changed

.github/ISSUE_TEMPLATE/bug_report.md renamed to .github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
---
21
name: Report a problem
3-
about: Create a report to let us help you
4-
title: ''
5-
labels: []
6-
assignees: ''
7-
2+
description: Create a report to let us help you
83
body:
94
- type: textarea
105
attributes:
116
label: What events trigger your workflow?
7+
id: ci-triggers
128
description: >-
139
Please copy and paste the workflow triggers.
1410
If you are using a resuable workflow (`workflow_dispatch` event),
@@ -22,8 +18,11 @@ body:
2218
branches: [main, master, develop]
2319
paths: ['**.c', '**.cpp', '**.h', '**.hpp', '**.cxx', '**.hxx', '**.cc', '**.hh', '**CMakeLists.txt', 'meson.build', '**.cmake']
2420
render: yml
21+
validations:
22+
required: true
2523

2624
- type: textarea
25+
id: runner-os
2726
attributes:
2827
label: What OS does your workflow use?
2928
description: >-
@@ -34,8 +33,11 @@ body:
3433
runs-on: ubuntu-latest
3534
container: node:18
3635
render: yml
36+
validations:
37+
required: true
3738

3839
- type: textarea
40+
id: cpp-linter-config
3941
attributes:
4042
label: How is cpp-linter-action configured?
4143
description: >-
@@ -49,12 +51,17 @@ body:
4951
style: 'file'
5052
tidy-checks: ''
5153
render: yml
54+
validations:
55+
required: true
5256

5357
- type: textarea
58+
id: what-happened
5459
attributes:
5560
label: What was the unexpected behavior?
56-
description: |-
61+
description: >-
5762
Use this area to describe what behavior you expected and what behavior you observed.
5863
Please be clear and concise as possible. Use screenshots if that would help. Most users
5964
use this to paste the workflow logs.
6065
placeholder: You can use markdown syntax here
66+
validations:
67+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
blank_issues_enabled: false
33
# if the templates provided don't fit the subject of the user feedback,
44
# here we can give links to other forms of user feedback
5-
contact-links:
5+
contact_links:
66
- name: cpp-linter discussions
77
url: https://github.com/orgs/cpp-linter/discussions
88
about: A place for feedback not specific to cpp-linter-action
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
name: Feature request
3+
description: Suggest an idea for this project
4+
body:
5+
- type: dropdown
6+
id: existing-feature
7+
attributes:
8+
label: Is your idea related to an existing feature?
9+
description: >-
10+
If this idea is related to an already available feature(s), then please list them here.
11+
multiple: true
12+
options:
13+
- version
14+
- thread-comments
15+
- tidy-checks
16+
- style
17+
- lines-changed-only
18+
- ignore
19+
- tidy-ignore
20+
- format-ignore
21+
- files-changed-only
22+
- file-annotations
23+
- step-summary
24+
- no-lgtm
25+
- tidy-review
26+
- format-review
27+
- passive-reviews
28+
- verbosity
29+
- 'output: checks-failed'
30+
- 'output: clang-tidy-checks-failed'
31+
- 'output: clang-format-checks-failed'
32+
33+
- type: textarea
34+
id: behavior
35+
attributes:
36+
label: Describe the behavior you would like
37+
description: >-
38+
Use this area to describe what behavior you desire.
39+
Please be clear and concise as possible. Use screenshots if that would help.
40+
placeholder: You can use markdown syntax here
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
id: alternative
46+
attributes:
47+
label: Describe alternatives you have considered
48+
description: >-
49+
Were you able to achieve the desired behavior in some other/inconvenient way?
50+
placeholder: You can use markdown syntax here
51+
52+
- type: textarea
53+
id: added-context
54+
attributes:
55+
label: Additional context
56+
description: >-
57+
If there is anything that might be special or specific to your usage, please let us know.
58+
placeholder: You can use markdown syntax here

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)