mirror of
https://github.com/peakoss/anti-slop
synced 2026-12-01 13:39:13 +08:00
chore(inputs): remove unnecessary actionsStepDebug option
This commit is contained in:
4 files changed
-7
No files matched your search
@@ -18,10 +18,6 @@ inputs:
|
|||||||
description: Number of check failures needed before failure actions are triggered (between 1 and 30).
|
description: Number of check failures needed before failure actions are triggered (between 1 and 30).
|
||||||
required: false
|
required: false
|
||||||
default: "3"
|
default: "3"
|
||||||
actions-step-debug:
|
|
||||||
description: Enable step debug logging.
|
|
||||||
required: false
|
|
||||||
default: "false"
|
|
||||||
|
|
||||||
# PR Branch Checks
|
# PR Branch Checks
|
||||||
allowed-target-branches:
|
allowed-target-branches:
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ export enum Input {
|
|||||||
|
|
||||||
// General Settings
|
// General Settings
|
||||||
MaxFailures = "max-failures",
|
MaxFailures = "max-failures",
|
||||||
ActionsStepDebug = "actions-step-debug",
|
|
||||||
|
|
||||||
// PR Branch Checks
|
// PR Branch Checks
|
||||||
// Branches can contain "," so we use newline-separated (multiline) values to configure these.
|
// Branches can contain "," so we use newline-separated (multiline) values to configure these.
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ export function getSettings(): Settings {
|
|||||||
|
|
||||||
// General Settings
|
// General Settings
|
||||||
maxFailures: parseInt(core.getInput(Input.MaxFailures)),
|
maxFailures: parseInt(core.getInput(Input.MaxFailures)),
|
||||||
actionsStepDebug: core.getBooleanInput(Input.ActionsStepDebug),
|
|
||||||
|
|
||||||
// PR Branch Checks
|
// PR Branch Checks
|
||||||
allowedTargetBranches: core.getMultilineInput(Input.AllowedTargetBranches),
|
allowedTargetBranches: core.getMultilineInput(Input.AllowedTargetBranches),
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ export interface Settings {
|
|||||||
|
|
||||||
// General Settings
|
// General Settings
|
||||||
maxFailures: number;
|
maxFailures: number;
|
||||||
actionsStepDebug: boolean;
|
|
||||||
|
|
||||||
// PR Branch Checks
|
// PR Branch Checks
|
||||||
allowedTargetBranches: string[];
|
allowedTargetBranches: string[];
|
||||||
|
|||||||
Reference in new issue
Block a user