Skip to content

Commit 33874cf

Browse files
author
Jackson Kearl
committed
Move to actions for feature request
1 parent 49cc410 commit 33874cf

2 files changed

Lines changed: 36 additions & 34 deletions

File tree

.github/feature-requests.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Feature Request Manager
2+
on:
3+
repository_dispatch:
4+
issues:
5+
types: [labeled, milestoned]
6+
schedule:
7+
- cron: 20 2 * * * # 4:20am Zurich
8+
9+
jobs:
10+
main:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Actions
14+
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
15+
uses: actions/checkout@v2
16+
with:
17+
repository: 'JacksonKearl/vscode-triage-github-actions'
18+
ref: master
19+
- name: Run Feature Request Manager
20+
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
21+
uses: ./feature-request
22+
with:
23+
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
24+
candidateMilestoneID: 107
25+
candidateMilestoneName: Backlog Candidates
26+
backlogMilestoneID: 8
27+
featureRequestLabel: feature-request
28+
upvotesRequired: 20
29+
numCommentsOverride: 20
30+
initComment: "This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!",
31+
warnComment: "This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding",
32+
acceptComment: ":slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!",
33+
rejectComment: ":slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!",
34+
warnDays: 10
35+
closeDays: 60
36+
milestoneDelaySeconds: 60

0 commit comments

Comments
 (0)