name: "Issue Labeler"
on:
  issues:
    types: [opened, edited]

jobs:
  triage:
    runs-on: ubuntu-latest
    permissions:
      issues: write
    steps:
      - uses: github/issue-labeler@v3.1 #May not be the latest version
        with:
          repo-token: "${{ github.token }}"
          configuration-path: .github/labeler.yml
          enable-versioned-regex: 0
          include-title: 1
