Skip to content

Workflow to label PRs #767

Description

@michelle-clayton-work

Add a deterministic GitHub Actions workflow (or extend existing one) that classifies each PR when it is opened, updated, reopened, or marked ready for review.

Size
Apply exactly one size label based on changed lines and file count:

  • size:small: no more than 100 changed lines and 5 files.
  • size:medium: no more than 300 changed lines and 10 files.
  • size:large: no more than 1,000 changed lines and 25 files.
  • size:xlarge: anything larger.

Kind
Apply exactly one primary kind:

  • kind:code
  • kind:docs
  • kind:tests
  • kind:examples
  • kind:dependencies
  • kind:ci

Mixed changes that include production code should use kind:code.

Area
Apply zero or more area labels based on changed paths:

  • area:agent
  • area:workflow
  • area:message
  • area:tool
  • area:provider
  • area:provider/a2a
  • area:provider/agui
  • area:provider/anthropic
  • area:provider/copilot
  • area:provider/foundry
  • area:provider/gemini
  • area:provider/openai
  • area:provider/otel
  • area:internal
  • area:tooling
  • area:examples
  • area:github

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions