mirror of
https://github.com/peakoss/anti-slop
synced 2026-12-01 13:39:13 +08:00
feat(inputs): add 4 new settings to the action inputs
This commit is contained in:
4 files changed
+45
No files matched your search
@@ -12,6 +12,10 @@ export interface Settings {
|
||||
allowedSourceBranches: string[];
|
||||
blockedSourceBranches: string[];
|
||||
|
||||
// PR Quality Checks
|
||||
maxNegativeReactions: number;
|
||||
requireMaintainerCanModify: boolean;
|
||||
|
||||
// PR Title Checks
|
||||
requireConventionalTitle: boolean;
|
||||
|
||||
@@ -38,6 +42,7 @@ export interface Settings {
|
||||
minRepoMergedPrs: number;
|
||||
minRepoMergeRatio: number;
|
||||
minGlobalMergeRatio: number;
|
||||
globalMergeRatioExcludeOwn: boolean;
|
||||
minAccountAge: number;
|
||||
|
||||
// Filters
|
||||
@@ -70,6 +75,9 @@ export interface Settings {
|
||||
lockPr: boolean;
|
||||
deleteBranch: boolean;
|
||||
|
||||
// PR Success Actions
|
||||
successAddPrLabels: string[];
|
||||
|
||||
// PR Failure Actions
|
||||
failurePrMessage: string;
|
||||
failureRemovePrLabels: string[];
|
||||
|
||||
Reference in new issue
Block a user