Skip to content

ci: label taxonomy, AI/Copilot automation, and split release workflows #95

ci: label taxonomy, AI/Copilot automation, and split release workflows

ci: label taxonomy, AI/Copilot automation, and split release workflows #95

Workflow file for this run

name: "Labels: PR"
# Consolidated PR labeling: path-based area labels (see .github/labeler.yml)
# plus size labels.
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
pull-requests: write
issues: write
jobs:
paths:
name: Path labels
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
with:
sync-labels: true
size:
name: Size label
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: pascalgn/size-label-action@f8edde36b3be04b4f65dcfead05dc8691b374348 # v0.5.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
sizes: >
{
"0": "XS",
"10": "S",
"100": "M",
"1000": "L",
"5000": "XL"
}