Skip to content

ci: label pull requests by area - #91

Merged
boykopovar merged 1 commit into
boykopovar:mainfrom
adriadam10:ci-area-labels
Sep 28, 2026
Merged

boykopovar merged 1 commit into
boykopovar:mainfrom
adriadam10:ci-area-labels

Conversation

@adriadam10

@adriadam10 adriadam10 commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

What

Adds a workflow and .github/labeler.yml that label open pull requests by the area they touch, using actions/labeler:

Label Paths
relinker core/relinker/**
shader core/shader/**
agc core/libs/prx/libSceAgc*/**
libc core/libs/prx/libc/**
libkernel core/libs/prx/libkernel/**
prx other core/libs/prx/**
build CMakeLists.txt, *.cmake, .gitmodules, 3rdparty/**
docs *.md, docs/**
ci .github/**

Why

It lets reviews be grouped by area, and shows at a glance when several open PRs work on the same subsystem. For example, #12, #30, #37 and #71 are all agc, and #55, #81 and #82 are all libc.

How

It runs hourly (and on demand), lists the open PRs against the default branch and labels them. It only adds labels and never removes them. It avoids pull_request_target, which public repositories will block by default from 2 November 2026 (changelog). The trade-off is that a new PR gets its labels within the hour instead of immediately.

Paths and label names are only a proposal; edit labeler.yml freely.

Tested

On my fork with test PRs (adriadam10#4–#6, now closed): a PR touching libSceAgcDriver and libSceMouse got agc, prx, a libc-only PR got just libc, and a README change got docs. Labels are created automatically on first use.

Co-Authored-By: Claude <noreply@anthropic.com>
@boykopovar
boykopovar merged commit 4e418f1 into boykopovar:main Sep 28, 2026
@adriadam10
adriadam10 deleted the ci-area-labels branch October 3, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants