From 8034d038192ddc68aa4106b5330a2c26ea51d459 Mon Sep 17 00:00:00 2001 From: Warren Gifford Date: Tue, 25 Jun 2024 00:01:46 -0700 Subject: [PATCH 1/3] change default in label pattern for identifying action --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4f3eff2..3b001cf 100644 --- a/action.yml +++ b/action.yml @@ -28,7 +28,8 @@ inputs: description: > The regular expression pattern that PR labels will be tested on to decide whether the PR should be backported and where. The backport PR's base branch will be extracted from the pattern's required `base` named capturing group. - default: "^backport (?([^ ]+))$" + # default: "^backport (?([^ ]+))$" + default: "^backport (?\d+\.\d+\.x)$" title_template: description: > Lodash template for the backport PR's title. From aeb6098eb63eff3835daf61718e138c7c56b48c6 Mon Sep 17 00:00:00 2001 From: Warren Gifford Date: Tue, 25 Jun 2024 10:17:55 -0700 Subject: [PATCH 2/3] correct escape in yaml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3b001cf..b962c85 100644 --- a/action.yml +++ b/action.yml @@ -29,7 +29,7 @@ inputs: The regular expression pattern that PR labels will be tested on to decide whether the PR should be backported and where. The backport PR's base branch will be extracted from the pattern's required `base` named capturing group. # default: "^backport (?([^ ]+))$" - default: "^backport (?\d+\.\d+\.x)$" + default: '^backport (?\d+\.\d+\.x)$' title_template: description: > Lodash template for the backport PR's title. From 643885802af7061d0a7bfc5b9d05eee5c7d78273 Mon Sep 17 00:00:00 2001 From: Warren Gifford Date: Tue, 25 Jun 2024 13:43:40 -0700 Subject: [PATCH 3/3] remove commented out default --- action.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/action.yml b/action.yml index b962c85..3f4c414 100644 --- a/action.yml +++ b/action.yml @@ -28,7 +28,6 @@ inputs: description: > The regular expression pattern that PR labels will be tested on to decide whether the PR should be backported and where. The backport PR's base branch will be extracted from the pattern's required `base` named capturing group. - # default: "^backport (?([^ ]+))$" default: '^backport (?\d+\.\d+\.x)$' title_template: description: >