Skip to content

Commit 3b9e409

Browse files
committed
Update backport label regex
1 parent 2a3f079 commit 3b9e409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-backport-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
json_pr_labels='${{ toJSON(github.event.pull_request.labels) }}'
2323
readarray -t pr_labels < <(echo "${json_pr_labels}" | jq -r -c '.[].name')
2424
25-
json_all_labels="$(gh label list --repo ${{ github.repository }} --json name --search "backport" --limit 1000)"
25+
json_all_labels="$(gh label list --repo ${{ github.repository }} --json name --search "backport-" --limit 1000)"
2626
readarray -t all_labels < <(echo "${json_all_labels}" | jq -r -c '.[].name')
2727
2828
declare -A all_backport_labels=()
2929
declare -A all_floating_majors=()
3030
31-
backport_regex="^backport ([0-9])+\.([0-9]+|x)$"
31+
backport_regex="^backport-([0-9])+\.([0-9]+|x)$"
3232
3333
echo "::group::Available Labels"
3434
echo "skip-backport"

0 commit comments

Comments
 (0)