Skip to content

Commit 9c676bc

Browse files
Add new issue automation
1 parent 4a9fbe2 commit 9c676bc

File tree

6 files changed

+135
-53
lines changed

6 files changed

+135
-53
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Centralized GitHub Issue Templates for Bug Reports (.github/ISSUE_TEMPLATE/bug_report.yml)
2+
name: Bug Report
3+
description: File a bug report.
4+
title: "[Bug]: "
5+
labels: ["bug"]
6+
projects: []
7+
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Thanks for taking the time to fill out this bug report!
13+
- type: input
14+
id: contact
15+
attributes:
16+
label: Contact Details
17+
description: How can we get in touch with you if we need more info?
18+
placeholder: ex. [email protected]
19+
validations:
20+
required: false
21+
- type: textarea
22+
id: what-happened
23+
attributes:
24+
label: What happened?
25+
description: Also tell us, what did you expect to happen?
26+
placeholder: Tell us what you see!
27+
value: "A bug happened!"
28+
validations:
29+
required: true
30+
- type: input
31+
id: version
32+
attributes:
33+
label: Version
34+
description: What version of our software are you running?
35+
placeholder: Enter the version number
36+
validations:
37+
required: true
38+
- type: dropdown
39+
id: os-version
40+
attributes:
41+
label: Operating System & Version
42+
description: Select your OS and version
43+
options:
44+
- Windows 7
45+
- Windows 8
46+
- Windows 10
47+
- Windows 11
48+
- macOS Big Sur
49+
- macOS Monterey
50+
- macOS Ventura
51+
- macOS Sonoma
52+
- Ubuntu 18.04
53+
- Ubuntu 20.04
54+
- Ubuntu 22.04
55+
- Debian 10
56+
- Debian 11
57+
- Fedora 36
58+
- Fedora 37
59+
- Arch Linux (Latest)
60+
- Red Hat Enterprise Linux 8
61+
- Red Hat Enterprise Linux 9
62+
- openSUSE Leap 15
63+
- Other
64+
validations:
65+
required: true
66+
- type: input
67+
id: os-other
68+
attributes:
69+
label: Specify Other OS Version
70+
description: If you selected "Other," please specify your OS and version.
71+
placeholder: Enter your OS and version
72+
- type: textarea
73+
id: logs
74+
attributes:
75+
label: Relevant log output
76+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
77+
render: shell

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/enhancement-request.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Centralized GitHub Issue Templates for Enhancement Requests (.github/ISSUE_TEMPLATE/enhancement_request.yml)
2+
name: Enhancement Request
3+
description: Suggest a new feature or improvement.
4+
title: "[Enhancement]: "
5+
labels: ["enhancement", "feature-request"]
6+
projects: ["octo-org/1", "octo-org/44"]
7+
assignees:
8+
- octocat
9+
body:
10+
- type: markdown
11+
attributes:
12+
value: |
13+
Thanks for taking the time to suggest an enhancement!
14+
- type: input
15+
id: contact
16+
attributes:
17+
label: Contact Details
18+
description: How can we get in touch with you if we need more info?
19+
placeholder: ex. [email protected]
20+
validations:
21+
required: false
22+
- type: textarea
23+
id: what-problem
24+
attributes:
25+
label: What problem does this solve?
26+
description: Explain the problem this feature would address.
27+
placeholder: Tell us about the problem!
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: proposed-solution
32+
attributes:
33+
label: Proposed Solution
34+
description: How do you think this should be implemented?
35+
placeholder: Describe your idea in detail.
36+
validations:
37+
required: true
38+
- type: dropdown
39+
id: importance
40+
attributes:
41+
label: Importance Level
42+
description: How important is this enhancement to you?
43+
options:
44+
- Nice to have
45+
- Important
46+
- Critical
47+
default: 0
48+
validations:
49+
required: true
50+
- type: textarea
51+
id: additional-info
52+
attributes:
53+
label: Additional Information
54+
description: Any other context, related issues, or screenshots to support your request.

.github/workflows/issue_automation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
types: [opened]
66

77
jobs:
8-
issue:
8+
notify_jira:
99
name: Notify Jira
10-
uses: CheckmarxDev/ast-cli/.github/workflows/jira_notify.yml@main
10+
uses: Checkmarx/plugins-release-workflow/.github/workflows/jira_notify.yml@main
1111
with:
1212
title: ${{ github.event.issue.title }}
1313
body: ${{ github.event.issue.body }}
1414
html_url: ${{ github.event.issue.html_url }}
1515
repo: ${{ github.event.repository.full_name }}
16-
secrets: inherit
16+
secrets: inherit

0 commit comments

Comments
 (0)