name: PR-Labeler
on:
  pull_request_target:
    types:
      - opened

jobs:
  label:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/labeler@v3
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"
        configuration-path: .github/label-config.yml
