Add a triager and update issue templates

This commit is contained in:
Kayla Ngan
2019-12-19 16:10:27 -05:00
parent 37dee70e0e
commit 32ffc1de57
4 changed files with 225 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ assignees: ''
**Describe the bug**
A clear and concise description of what the bug is, and why you consider it to be a bug.
**Area for Triage**: See https://github.com/actions/virtual-environments/tree/master/.github/workflows/triage-rules.yaml for areas
**Question, Bug, or Feature?**:
**Virtual environments affected**
- [ ] macOS 10.15
- [ ] Ubuntu 16.04 LTS

View File

@@ -16,6 +16,9 @@ assignees: ''
- Brief description of tool: <!--- Description -->
- URL for tool's homepage: <!--- URL -->
**Area for Triage**: See https://github.com/actions/virtual-environments/tree/master/.github/workflows/triage-rules.yaml for areas
**Question, Bug, or Feature?**:
**Virtual environments affected**
- [ ] macOS 10.15
- [ ] Ubuntu 16.04 LTS

27
.github/workflows/issue-triager.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
# Adapted from: https://github.com/microsoft/azure-pipelines-tasks/blob/master/.github/workflows/blank.yml
# This action labels and assigns newly opened issues
name: Issue triager
on:
issues:
types: [opened]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: damccorm/tag-ur-it@master
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: "./triage-rules.yml"
- name: Set Node.js 10.x
uses: actions/setup-node@master
with:
version: 10.x
# Need to explicitly install @octokit/rest separately or else it will mess with our typings.
- run: npm install && npm install @octokit/rest