From d50738fecab4643426bf31ae77e641d8504dd881 Mon Sep 17 00:00:00 2001 From: Yaron Kaikov Date: Thu, 6 Feb 2025 21:25:47 +0200 Subject: [PATCH] ./github/workflows/pr-require-backport-label: fix regex to match source available version Until now this action checked if we have a `backport/none` or `backport/x.y` label only, since we moved to the source available and the releases like 2025.1 don't match this regex this action keeps failing Closes scylladb/scylladb#22734 --- .github/workflows/pr-require-backport-label.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-require-backport-label.yaml b/.github/workflows/pr-require-backport-label.yaml index 0c62cad2fe..812b842bad 100644 --- a/.github/workflows/pr-require-backport-label.yaml +++ b/.github/workflows/pr-require-backport-label.yaml @@ -17,6 +17,6 @@ jobs: with: mode: minimum count: 1 - labels: "backport/none\nbackport/\\d.\\d" + labels: "backport/none\nbackport/\\d{4}\\.\\d+\nbackport/\\d+\\.\\d+" use_regex: true add_comment: false