Skip to content

Commit b064fe9

Browse files
committed
Update issue forms and add actions/stale
Tested in vscode-powershell first, this should help a ton.
1 parent 0fa5751 commit b064fe9

9 files changed

+159
-153
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: 🐛 Bug report
2+
description: Open an issue about a bug that needs fixing.
3+
labels: ["Issue-Bug", "Needs: Triage"]
4+
body:
5+
- type: checkboxes
6+
attributes:
7+
label: Prerequisites
8+
options:
9+
- label: I have written a descriptive issue title.
10+
required: true
11+
- label: I have searched all [_open and closed_ issues](https://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue) to ensure it has not already been reported.
12+
- label: I have read the [troubleshooting](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md) guide.
13+
- label: I am sure this issue is with _PowerShell Editor Services itself_ and does not reproduce in a standalone [PowerShell](https://github.com/PowerShell/PowerShell/issues/new/choose) instance, and is not an issue with my editor.
14+
- label: I have verified that I am using the latest version of PowerShell Editor Services.
15+
- label: If this is a security issue, I have read the [security issue reporting guidance](https://github.com/PowerShell/vscode-powershell/blob/main/SECURITY.md).
16+
- type: textarea
17+
id: summary
18+
attributes:
19+
label: Summary
20+
description: Explain the problem briefly below.
21+
placeholder: I am experiencing a problem with X. I think Y should be happening but Z is actually happening.
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: powershell-version
26+
attributes:
27+
label: PowerShell Version
28+
description: Paste verbatim output from `$PSVersionTable` below. Please double-check that this is the PowerShell version that is running Editor Services.
29+
render: console
30+
placeholder: |
31+
PS> $PSVersionTable
32+
33+
Name Value
34+
---- -----
35+
PSVersion 7.4.0
36+
PSEdition Core
37+
GitCommitId 7.4.0
38+
OS Darwin 20.4.0 Darwin Kernel
39+
Platform Unix
40+
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
41+
PSRemotingProtocolVersion 2.3
42+
SerializationVersion 1.1.0.1
43+
WSManStackVersion 3.0
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: vscode-version
48+
attributes:
49+
label: Editor Version
50+
description: Paste verbatim output from `emacs --version` or `vim --version` etc. below. **Please also describe how you setup the relevant LSP client, such as `eglot` or `vim-lsp` and share your configuration!**
51+
render: console
52+
placeholder: |
53+
PS> emacs --version
54+
GNU Emacs 29.1
55+
...
56+
validations:
57+
required: true
58+
- type: textarea
59+
id: extension-version
60+
attributes:
61+
label: PowerShell Editor Services Version
62+
description: If you have interactive access to the PowerShell host running Editor Services, paste verbatim output of `$psEditor.EditorServicesVersion` below.
63+
render: console
64+
placeholder: |
65+
PS> $psEditor.EditorServicesVersion
66+
67+
Major Minor Build Revision
68+
----- ----- ----- --------
69+
3 14 0 0
70+
validations:
71+
required: true
72+
- type: textarea
73+
id: steps-to-reproduce
74+
attributes:
75+
label: Steps to Reproduce
76+
description: List of steps, sample code, failing test or link to a project that reproduces the behavior. Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues.
77+
validations:
78+
required: true
79+
- type: textarea
80+
id: visuals
81+
attributes:
82+
label: Visuals
83+
description: Please upload images or animations that can be used to reproduce issues in the area below. Try the [Steps Recorder](https://support.microsoft.com/en-us/windows/record-steps-to-reproduce-a-problem-46582a9b-620f-2e36-00c9-04e25d784e47) on Windows or [Screenshot](https://support.apple.com/en-us/HT208721) on macOS.
84+
- type: textarea
85+
id: logs
86+
attributes:
87+
label: Logs
88+
description: Please upload logs collected by following these [instructions](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md#logs) for VS Code (otherwise however your editor is setup) in the area below. Be careful to scrub sensitive information!

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 🙋 Ask a question
4+
url: https://aka.ms/powershell-vscode-discord
5+
about: "Find us in #vscode on the PowerShell Community Discord"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ✨ Feature request
2+
description: Open an issue about a potential new feature or improvement.
3+
labels: ["Issue-Enhancement", "Needs: Triage"]
4+
body:
5+
- type: checkboxes
6+
attributes:
7+
label: Prerequisites
8+
options:
9+
- label: I have written a descriptive issue title.
10+
required: true
11+
- label: I have searched all [issues](https://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue) to ensure it has not already been requested.
12+
required: true
13+
- type: textarea
14+
id: summary
15+
attributes:
16+
label: Summary
17+
description: Explain the feature request below.
18+
placeholder: I would like to do X because it would be useful for Y and I cannot currently do it with Z.
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: proposed-design
23+
attributes:
24+
label: Proposed Design
25+
description: Optionally explain any technical design below.
26+
placeholder: We could accomplish this by extending X to take Y and yield Z.

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: 2
22
updates:
33
- package-ecosystem: nuget
44
directory: "/"
5+
labels: [ ]
56
schedule:
67
interval: weekly
78
open-pull-requests-limit: 10
@@ -15,5 +16,6 @@ updates:
1516
- "xunit.*"
1617
- package-ecosystem: github-actions
1718
directory: "/"
19+
labels: [ ]
1820
schedule:
1921
interval: weekly

.github/policies/resourceManagement.yml

Lines changed: 0 additions & 150 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Close Stale Issues
2+
3+
permissions:
4+
issues: write
5+
6+
on:
7+
schedule:
8+
- cron: "*/15 * * * *"
9+
10+
jobs:
11+
stale-resolved-issues:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v8
15+
name: Close issues labeled as resolved after 1 day of inactivity
16+
with:
17+
any-of-labels: "Resolution-Answered,Resolution-Duplicate,Resolution-External,Resolution-Fixed,Resolution-Inactive"
18+
days-before-stale: 1
19+
days-before-close: 0
20+
close-issue-reason: completed
21+
close-issue-message: "This issue has been labeled as resolved and has not had any activity for one or more days. It has been closed for housekeeping purposes."
22+
stale-feedback-issues:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/stale@v8
26+
name: Close issues labeled as needs feedback after 1 week of inactivity
27+
with:
28+
any-of-labels: "Needs: Author Feedback,Needs: Fix Verification,Needs: Repro Info"
29+
days-before-stale: 2
30+
days-before-close: 5
31+
labels-to-remove-when-stale: "Needs: Maintainer Attention"
32+
labels-to-add-when-unstale: "Needs: Maintainer Attention"
33+
labels-to-remove-when-unstale: "Needs: Author Feedback,Needs: Fix Verification,Needs: Repro Info"
34+
close-issue-reason: completed
35+
close-issue-message: "This issue has been labeled as needing feedback and has not had any activity for one or more weeks. It has been closed for housekeeping purposes."

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CodeQL"
1+
name: Run CodeQL Analysis
22

33
on:
44
push:

.github/workflows/emacs-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Emacs"
1+
name: Emacs End-to-End Tests
22

33
on:
44
push:

.github/workflows/vim-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Vim"
1+
name: Vim End-to-End Tests
22

33
on:
44
push:

0 commit comments

Comments
 (0)