CI: labeler: fix wrong label for pr targeting stable branch
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 1 Dec 2022 00:46:03 +0000 (01:46 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 16:47:12 +0000 (17:47 +0100)
commit26f35c40b624600b07292951c0ced58db500ce66
tree6e8abe3811c235e76e39758cadc48d65f4482baa
parentee05f20e9717669d979a8666d74b70fd3eb0e7a9
CI: labeler: fix wrong label for pr targeting stable branch

The label used for stable branch is in the form of
release/[0-9][0-9].[0-9][0-9]
Currently we apply the name of the target branch as the label, fix this
and correctly use the current label.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit af8bc8e51b6daef65c497522b67a1dd9d0cdab84)
.github/workflows/labeler.yml