mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-05-22 15:04:54 -04:00
34 lines
768 B
YAML
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/*
|