| REPOMATIC-APPLY-LABELS(1) | REPOMATIC-APPLY-LABELS(1) |
repomatic apply-labels - Label an issue or PR from its content and changed files
repomatic apply-labels [OPTIONS]
Label a freshly opened issue or pull request from the project's rules.
Two rule families, both tables under `[tool.repomatic.labels]` mapping a label to the patterns that apply it, overlaid on the bundled defaults:
content-rules keywords or /regex/flags matched against the title and
body, of an issue or a pull request alike
file-rules globs matched against the paths a pull request changes
Additive only. A label already on the thread stays, and none is ever removed, so a classification made by hand survives every later run.
This pre-labels for the maintainer's first pass and never replaces it, so the rules are tuned for precision: a missing label costs one click, a wrong one is noise on every issue that trips it.
Requires the gh CLI to be authenticated.
Preview what the current event's issue or PR would earn
repomatic apply\-labels
Apply them, as the labeller job does
repomatic apply\-labels \-\-live
Manual invocation against one pull request
repomatic apply\-labels \-\-live \-\-pr \-\-number 42
Kevin Deldycke
| 2026-09-14 | 7.15.1.dev0 |