name: PR triage
on:
  pull_request:
    types: [opened]
jobs:
  labelPRsForTriage:
    name: Apply PR Triage Label
    runs-on: ubuntu-latest
    steps:
      - uses: actions/github@v1.0.0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: label needs-triage
          repo-token: ${{ secrets.GITHUB_ACTIONS_TOKEN }}

name: PR triage
on:
  pull_request:
    types: [opened]
jobs:
  labelPRsForTriage:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1.0.0
    - name: Apply PR Triage Label
      uses: actions/github@v1.0.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        args: label needs-triage

Revert PR triage label action changes
Revert PR triage label action changes