mirror of
https://github.com/actions/runner-images.git
synced 2025-12-25 02:47:41 +08:00
Add a triager and update issue templates
This commit is contained in:
27
.github/workflows/issue-triager.yml
vendored
Normal file
27
.github/workflows/issue-triager.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user