Skip to content

Commit ccababe

Browse files
authored
Merge pull request #7 from piksel/form-templates-test
2 parents 2e5d890 + e89eea8 commit ccababe

File tree

5 files changed

+160
-17
lines changed

5 files changed

+160
-17
lines changed

Diff for: .github/ISSUE_TEMPLATE.md

-17
This file was deleted.

Diff for: .github/ISSUE_TEMPLATE/bug.yml

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: 🐛 Bug report
2+
description: Create a report to help us improve
3+
labels: ["bug"]
4+
5+
body:
6+
- type: textarea
7+
id: description
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: input
15+
id: reproduce-code
16+
attributes:
17+
description: |
18+
If possible, the best way to display an issue is by making a reproducable code snippet available at jsfiddle.
19+
Create a dotnet fiddle which reproduces your issue. You can use [this template](https://p1k.se/sharpziplib-repro) or [create a new one](https://dotnetfiddle.net/).
20+
placeholder: https://dotnetfiddle.net/r39r0c0d3
21+
label: Reproduction Code
22+
23+
- type: textarea
24+
id: reproduce-steps
25+
attributes:
26+
label: Steps to reproduce
27+
description: Steps to reproduce the behavior
28+
placeholder: |
29+
1. Go to '...'
30+
2. Click on '....'
31+
3. Scroll down to '....'
32+
4. See error
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: expected
38+
attributes:
39+
label: Expected behavior
40+
description: A clear and concise description of what you expected to happen.
41+
validations:
42+
required: true
43+
44+
- type: dropdown
45+
attributes:
46+
label: Operating System
47+
multiple: true
48+
options:
49+
- Windows
50+
- macOS
51+
- Linux
52+
validations:
53+
required: false
54+
55+
- type: dropdown
56+
attributes:
57+
label: Framework Version
58+
multiple: true
59+
options:
60+
- .NET 7
61+
- .NET 6
62+
- .NET 5
63+
- .NET Core v3 and earlier
64+
- .NET Framework 4.x
65+
- Unity
66+
- Other
67+
validations:
68+
required: false
69+
70+
- type: dropdown
71+
id: areas
72+
attributes:
73+
label: What areas are your issue related to?
74+
multiple: true
75+
options:
76+
- ZIP
77+
- GZip
78+
- Tar
79+
- BZip2
80+
- Other compression
81+
- Other storage
82+
- ZipCrypto
83+
- AES
84+
- Other encryption
85+
- Async
86+
87+
- type: textarea
88+
attributes:
89+
label: Additional context
90+
description: Add any other context about the problem here.

Diff for: .github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask a question
4+
url: https://github.com/icsharpcode/SharpZipLib/discussions/new?category=q-a
5+
about: Post any questions in QA discussions instead of creating an issue
6+
- name: Discuss
7+
url: https://github.com/icsharpcode/SharpZipLib/discussions/new
8+
about: Discuss with other community members

Diff for: .github/ISSUE_TEMPLATE/feature_request.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: 💡 Feature request
2+
description: Have a new idea/feature ? Please suggest!
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Is your feature request related to a problem? Please describe.
9+
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
validations:
11+
required: true
12+
13+
- type: textarea
14+
id: solution
15+
attributes:
16+
label: Describe the solution you'd like
17+
description: A clear and concise description of what you want to happen.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: alternatives
23+
attributes:
24+
label: Describe alternatives you've considered
25+
description: A clear and concise description of any alternative solutions or features you've considered.
26+
validations:
27+
required: true
28+
29+
- type: dropdown
30+
id: formats
31+
attributes:
32+
label: What formats are your request related to?
33+
multiple: true
34+
options:
35+
- ZIP
36+
- GZip
37+
- Tar
38+
- BZip2
39+
- Other compression
40+
- Other storage
41+
42+
- type: textarea
43+
id: extrainfo
44+
attributes:
45+
label: Additional context
46+
description: Add any other context or screenshots about the feature request here.
47+
validations:
48+
required: false

Diff for: .github/workflows/issue.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Apply labels from issue
2+
3+
on:
4+
issues:
5+
types: [opened, edited]
6+
7+
jobs:
8+
Process Issue:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Issue Forms Body Parser
12+
id: parse
13+
uses: zentered/[email protected]
14+
- run: echo "${{ JSON.stringify(steps.parse.outputs.data) }}"

0 commit comments

Comments
 (0)