name: Labeler
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: "./issue-rules.yml"

    - name: Set Node.js 10.x
      uses: actions/setup-node@master
      with:
        version: 10.x

    - name: File bugs
      run: node ci/file-bugs.js
      env:
        GITHUB_PAT: "${{ secrets.GITHUB_TOKEN }}"
        AZP_PAT: "${{ secrets.AZP_TOKEN }}"

name: Labeler
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: "./issue-rules.yml"

    - name: Set Node.js 10.x
      uses: actions/setup-node@master
      with:
        version: 10.x
        
    - run: npm install

    - name: File bugs
      run: node ci/file-bugs.js
      env:
        GITHUB_PAT: "${{ secrets.GITHUB_TOKEN }}"
        AZP_PAT: "${{ secrets.AZP_TOKEN }}"

Install deps for filing bugs
Install deps for filing bugs