1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/.github/labeler.yml
jbpratt ec1b1ba302 chore: add automated PR labeling workflow (#4608)
Implement GitHub Actions workflow to automatically label pull requests
based on changed files, PR status, and target branch.

Features:
- Area labels (area/api, area/web-ui, etc.) based on file paths
- Status labels (needs-rebase, approved) based on PR state and reviews
- Backport labels (backport/redhat-3.x) for PRs targeting release branches
- Works with PRs from forks using pull_request_target trigger

The workflow uses actions/labeler for path-based labeling and
actions/github-script for dynamic status detection.

Signed-off-by: Brady Pratt <bpratt@redhat.com>
2025-11-25 10:25:46 -06:00

61 lines
1.0 KiB
YAML

# Component/Area Labels
# Maps file paths to area labels for automatic PR labeling
area/api:
- changed-files:
- any-glob-to-any-file: endpoints/api/**
area/registry:
- changed-files:
- any-glob-to-any-file:
- endpoints/v1/**
- endpoints/v2/**
area/web-ui:
- changed-files:
- any-glob-to-any-file: web/**
area/config-tool:
- changed-files:
- any-glob-to-any-file: config-tool/**
area/workers:
- changed-files:
- any-glob-to-any-file: workers/**
area/build-system:
- changed-files:
- any-glob-to-any-file: buildman/**
area/storage:
- changed-files:
- any-glob-to-any-file: storage/**
area/auth:
- changed-files:
- any-glob-to-any-file: auth/**
area/database:
- changed-files:
- any-glob-to-any-file: data/**
area/deployment:
- changed-files:
- any-glob-to-any-file: deploy/**
area/ci:
- changed-files:
- any-glob-to-any-file: .github/workflows/**
area/docs:
- changed-files:
- any-glob-to-any-file:
- docs/**
- '**/*.md'
area/tests:
- changed-files:
- any-glob-to-any-file:
- test/**
- integration_tests/**