Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ export function MaintainerSettings({ reviewability }: { reviewability: Array<{ p
<div className="mt-2 grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
<ToggleControl
label="Auto-label PRs"
hint="Only the base context label below — type labels have their own toggle"
value={settings.autoLabelEnabled}
onChange={(v) => setField("autoLabelEnabled", v)}
/>
Expand Down
4 changes: 4 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,10 @@ export type RepositorySettings = {
* PRs are exempt from auto-close (merge or manual-hold only). Per-repo configurable so maintainers choose
* rather than inheriting a hardwired opinion. */
closeOwnerAuthors: boolean;
/** #label-decoupling: gates ONLY the base {@link gittensorLabel} context label (`shouldApplyPrLabel`/
* `willLabel` in `signals/settings-preview.ts`) -- zero effect on TYPE/taxonomy labels
* ({@link typeLabelsEnabled}), moderation/blacklist labels, or review-state labels. Four independent
* label families exist; none of them gates or silently disables another. */
autoLabelEnabled: boolean;
gittensorLabel: string;
createMissingLabel: boolean;
Expand Down
Loading