Files
Red-DiscordBot/.github/workflows/auto_labeler_pr.yml
T
2026-05-21 03:34:11 +02:00

34 lines
768 B
YAML

name: Auto Labeler - PRs
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
permissions:
pull-requests: write
jobs:
label_pull_requests:
runs-on: ubuntu-latest
steps:
- name: Apply Type Label
uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
- name: Label documentation-only changes.
uses: Jackenmen/label-doconly-changes@v1
env:
LDC_LABELS: Docs-only
LDC_HOOK_UNCONDITIONAL__ALLOWED_FILES: |-
# default list of unconditionally allowed files
*.rst
*.md
# Red-specific includes
docs/.resources/*