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>
Thu, 1 Dec 2022 00:57:01 +0000 (01:57 +0100)
commit7d63c39bf4c1e607f12905258f3efc33d40e7716
treea0f8eaceb17a0e4d09a8d862a462f3c1a82ce26a
parente516c31e148b2b83961b096fc0e205d363e65efd
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.

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