We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc5960 commit 956b106Copy full SHA for 956b106
.github/workflows/check-backport-labels.yml
@@ -62,16 +62,18 @@ jobs:
62
for pr_label in "${pr_labels[@]}"; do
63
for backport_label in "${all_backport_labels[@]}"; do
64
if [ "${pr_label}" = "${backport_label}" ]; then
65
- has_exact_backport_label=true
66
67
if [[ "${pr_label}" =~ ${backport_regex} ]]; then
68
major="${BASH_REMATCH[1]}"
69
minor="${BASH_REMATCH[2]}"
70
pr_majors+=("${major}")
71
- if [ "${minor}" = "x" ]; then
72
- has_exact_backport_label=false
+ if [ "${minor}" != "x" ]; then
+ has_exact_backport_label=true
+ else
73
pr_floating_majors+=("${major}")
74
fi
75
76
77
78
79
echo "${pr_label}"
0 commit comments