./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
This commit is contained in:
Yaron Kaikov
2025-02-06 21:25:47 +02:00
committed by Botond Dénes
parent 97d789043a
commit d50738feca

View File

@@ -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