summaryrefslogtreecommitdiff
path: root/.github/workflows/pr_labeler.yml
blob: 1c3632972a79f31e3ae835c28a05cce8610bfa7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: PR Labeler
on:
  - pull_request_target

jobs:
  triage:
    runs-on: ubuntu-24.04
    permissions: write-all
    if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: true
      - uses: actions/labeler@v5
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          configuration-path: .github/labeler.yml
          sync-labels: true