Skip to content

Commit 31c6803

Browse files
committed
refactor
0 parents  commit 31c6803

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+15583
-0
lines changed
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
name: "🐛 Bug Report"
2+
description: Found something you weren't expecting? Report it here!
3+
title: "🐛 [BUG] - <title>"
4+
labels: [
5+
"#Bug"
6+
]
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
1. Please speak `English`.
12+
2. Make sure you are using the latest version and take a moment to check that your issue hasn't been reported before.
13+
3. It's really important to provide pertinent details and logs,
14+
incomplete details will be handled as an invalid report.
15+
16+
<br />
17+
18+
- type: textarea
19+
id: description
20+
attributes:
21+
label: Description
22+
description: |
23+
Please provide a description of your issue here.
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: steps-reproduce
29+
attributes:
30+
label: Steps To Reproduce
31+
description: |
32+
Describe the steps that need taken by the developer to get the error / issue you're experiencing.
33+
value: |
34+
-
35+
-
36+
-
37+
-
38+
validations:
39+
required: true
40+
41+
- type: input
42+
id: ver-utility
43+
attributes:
44+
label: "Version: Plugin"
45+
description: |
46+
Version of Gistr you are running
47+
Version is located in Obsidian plugin list.
48+
placeholder: "Ex: v1.0.0"
49+
validations:
50+
required: true
51+
52+
53+
- type: input
54+
id: ver-obsidian
55+
attributes:
56+
label: "Version: Obsidian"
57+
description: |
58+
Version of Obsidian you are running
59+
Version is located in Obsidian settings panel.
60+
CTRL + ; + X
61+
placeholder: "Ex: v1.5.3"
62+
validations:
63+
required: true
64+
65+
- type: input
66+
id: ver-os
67+
attributes:
68+
label: OS / Distro
69+
description: Operating system you are currently running.
70+
placeholder: "Ex: Windows 11 Pro 10.0.22631 Build 22631"
71+
validations:
72+
required: true
73+
74+
- type: dropdown
75+
id: priority-type
76+
attributes:
77+
label: Priority
78+
description: |
79+
How critical is the issue?
80+
Do not abuse this. Issues that completely break the utility would be classified as critical
81+
options:
82+
- "Low"
83+
- "Normal"
84+
- "High"
85+
- "Critical"
86+
validations:
87+
required: true
88+
89+
- type: textarea
90+
id: logs
91+
attributes:
92+
label: Logs
93+
description: |
94+
List any error messages you received in the developer console.
95+
Developer console can be opened with SHIFT + CTRL + I
96+
97+
- type: textarea
98+
id: references
99+
attributes:
100+
label: Referenced Issues
101+
description: |
102+
List any existing issues this ticket may be associated with.
103+
Structure each issue as:
104+
- #NUMBER
105+
- #3
106+
value: |
107+
- #
108+
- #
109+
110+
- type: textarea
111+
id: screenshots
112+
attributes:
113+
label: Screenshots
114+
description: |
115+
Please provide screenshots of any errors or the issue you're having.
116+
Gifs are even better.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "💡 Feature Request"
2+
description: Got a suggestion? Submit your request here.
3+
title: "💡 [REQUEST] - <title>"
4+
labels: [
5+
"#Feature"
6+
]
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
1. Please speak English.
12+
2. Please take a moment to check that your feature hasn't already been suggested.
13+
3. Be detailed but to the point.
14+
- type: textarea
15+
id: description
16+
attributes:
17+
label: Feature Description
18+
placeholder: |
19+
I would like to request ...
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: screenshots
24+
attributes:
25+
label: Screenshots
26+
description: |
27+
If possible, provide screenshots.
28+
Want a feature placed in a specific location? Mark it in a screenshot.
29+
Want something modified? Try creating a mockup.
30+
The more details about how it should look, the better.
31+
Not required, but appreciated.
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# ---------------------------------------------------------------------------------------
2+
# @parent : github workflow
3+
# @desc : checks for certain phrases in an issue title and body
4+
# @author : Aetherinox
5+
# @url : https://github.com/Aetherinox
6+
# ---------------------------------------------------------------------------------------
7+
8+
name: "New Issue: OpenGist Check"
9+
run-name: "New Issue: OpenGist Check - ${{ github.event.issue.number }}: ${{ github.event.issue.title }}"
10+
11+
on:
12+
issues:
13+
types: [opened]
14+
15+
env:
16+
ACTION_NAME: OpenGist
17+
ASSIGN_USER: Aetherinox
18+
BOT_NAME_1: AdminServ
19+
BOT_NAME_2: AdminServX
20+
21+
jobs:
22+
23+
# ---------------------------------------------------------------------------------------
24+
# Check for phrase [ OpenGist ]
25+
# ---------------------------------------------------------------------------------------
26+
27+
Phrase_OpenGist_Check:
28+
name: "Phrase Check [ OpenGist ]"
29+
runs-on: ubuntu-latest
30+
permissions: write-all
31+
steps:
32+
33+
# Check Submission TITLE to phrase "OpenGist"
34+
35+
- name: ${{ env.ACTION_NAME }} [ Title ] - String Manipulation
36+
id: og_title
37+
uses: ASzc/change-string-case-action@v6
38+
with:
39+
string: ${{ github.event.issue.title }}
40+
41+
- name: ${{ env.ACTION_NAME }} [ Title ] - Check Phrase
42+
if: |
43+
github.event.issue &&
44+
github.event.issue.user.login != '$env.BOT_NAME_1' &&
45+
github.event.issue.user.login != '$env.BOT_NAME_2' &&
46+
( contains( steps.og_title.outputs.lowercase, 'opengist' ) ||
47+
contains( steps.og_title.outputs.lowercase, 'open gist' ) )
48+
uses: peter-evans/create-or-update-comment@v4
49+
with:
50+
token: ${{ secrets.ADMINSERV_TOKEN }}
51+
issue-number: ${{ github.event.issue.number }}
52+
body: |
53+
⚠️ It appears you may be looking for OpenGist help.
54+
- [Opengist Repo](https://github.com/thomiceli/opengist)
55+
- [Opengist Docs](https://github.com/thomiceli/opengist/blob/master/docs/index.md)
56+
- [Opengist Demo](https://opengist.thomice.li/all)
57+
58+
If you are looking for OpenGist support, it will be very minimal. Please utilize the links above.
59+
60+
---
61+
62+
<sub>I am a bot reaching out to you with an automated response. If the above info doesn't apply to you, please ignore it.</sub>
63+
64+
# Check Submission BODY to phrase "OpenGist"
65+
66+
- name: ${{ env.ACTION_NAME }} [ Body ] - String Manipulation
67+
id: og_body
68+
uses: ASzc/change-string-case-action@v6
69+
with:
70+
string: ${{ github.event.issue.body }}
71+
72+
- name: ${{ env.ACTION_NAME }} [ Body ] - Check Phrase
73+
if: |
74+
github.event.issue &&
75+
github.event.issue.user.login != '$env.BOT_NAME_1' &&
76+
github.event.issue.user.login != '$env.BOT_NAME_2' &&
77+
( contains( steps.og_body.outputs.lowercase, 'opengist' ) ||
78+
contains( steps.og_body.outputs.lowercase, 'open gist' ) )
79+
uses: peter-evans/create-or-update-comment@v4
80+
with:
81+
token: ${{ secrets.ADMINSERV_TOKEN }}
82+
issue-number: ${{ github.event.issue.number }}
83+
body: |
84+
⚠️ It appears you may be looking for OpenGist help.
85+
- [Opengist Repo](https://github.com/thomiceli/opengist)
86+
- [Opengist Docs](https://github.com/thomiceli/opengist/blob/master/docs/index.md)
87+
- [Opengist Demo](https://opengist.thomice.li/all)
88+
89+
If you are looking for OpenGist support, it will be very minimal. Please utilize the links above.
90+
91+
---
92+
93+
<sub>I am a bot reaching out to you with an automated response. If the above info doesn't apply to you, please ignore it.</sub>

0 commit comments

Comments
 (0)