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
@@ -13,6 +13,10 @@ export enum Input {
|
||||
AllowedSourceBranches = "allowed-source-branches",
|
||||
BlockedSourceBranches = "blocked-source-branches",
|
||||
|
||||
// PR Quality Checks
|
||||
MaxNegativeReactions = "max-negative-reactions",
|
||||
RequireMaintainerCanModify = "require-maintainer-can-modify",
|
||||
|
||||
// PR Title Checks
|
||||
RequireConventionalTitle = "require-conventional-title",
|
||||
|
||||
@@ -39,6 +43,7 @@ export enum Input {
|
||||
MinRepoMergedPrs = "min-repo-merged-prs",
|
||||
MinRepoMergeRatio = "min-repo-merge-ratio",
|
||||
MinGlobalMergeRatio = "min-global-merge-ratio",
|
||||
GlobalMergeRatioExcludeOwn = "global-merge-ratio-exclude-own",
|
||||
MinAccountAge = "min-account-age",
|
||||
|
||||
// Filters
|
||||
@@ -71,6 +76,9 @@ export enum Input {
|
||||
LockPr = "lock-pr",
|
||||
DeleteBranch = "delete-branch",
|
||||
|
||||
// PR Success Actions
|
||||
SuccessAddPrLabels = "success-add-pr-labels",
|
||||
|
||||
// PR Failure Actions
|
||||
FailurePrMessage = "failure-pr-message",
|
||||
FailureRemovePrLabels = "failure-remove-pr-labels",
|
||||
|
||||
Reference in new issue
Block a user