From 6bfced72169e183c5f42d8f21e1fedf7a59974eb Mon Sep 17 00:00:00 2001 From: Zhiye Li Date: Sat, 17 Feb 2024 16:30:33 -0600 Subject: [PATCH 1/2] add missing option --- action.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 7a4823a..b73a7f4 100644 --- a/action.yml +++ b/action.yml @@ -4,13 +4,13 @@ branding: icon: git-pull-request color: orange inputs: - token: - description: 'The GitHub personal access token' - required: true base: required: true description: 'The base branch that this action will use to get PRs' default: 'master' + direction: + required: false + description: 'The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when `sort` is `created` or `sort` is not specified, otherwise `asc`.' required_approval_count: required: true description: 'The action will skip PRs that have less approvals than this value' @@ -19,12 +19,16 @@ inputs: required: false description: 'If the action should skip PRs that have failed checks, defaults to `true`' default: 'true' + require_auto_merge_enabled: + required: false + description: 'If the action should skip PRs that have failed checks, defaults to `true`' + default: 'true' sort: required: false description: 'What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month).' - direction: - required: false - description: 'The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when `sort` is `created` or `sort` is not specified, otherwise `asc`.' + token: + description: 'The GitHub personal access token' + required: true runs: using: 'node12' From 54a8b88bcc873ba3c9ec254096f4775005f2090f Mon Sep 17 00:00:00 2001 From: Zhiye Li Date: Sat, 17 Feb 2024 19:27:46 -0600 Subject: [PATCH 2/2] update description --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b73a7f4..78a1a92 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ inputs: default: 'true' require_auto_merge_enabled: required: false - description: 'If the action should skip PRs that have failed checks, defaults to `true`' + description: 'When set to false, the action includes PRs without auto-merge; the default true excludes such PRs.' default: 'true' sort: required: false