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

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