Cook

Issue labeler

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

jobs:
  triage:
    runs-on: ubuntu-latest
    steps:
      - uses: github/issue-labeler@v2.2
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"
          configuration-path: .github/config/issue-labler/labler.yml
          not-before: '2020-02-21T00:00:00Z'
          enable-versioned-regex: 1
          versioned-regex: 'issue_labeler_regex_version=(\d+)'

labler.yml

area.onboard:
  - '- \[ ?(?:x|X) ?\] Onboard.'
area.create:
  - '- \[ ?(?:x|X) ?\] Create.'
# ...