From 3f10f44232dcfbcbf59ccb958f47fef5d2a44fd9 Mon Sep 17 00:00:00 2001 From: Yaron Kaikov Date: Tue, 27 Jan 2026 10:47:32 +0200 Subject: [PATCH] .github/workflows/backport-pr-fixes-validation: support Atlassian URL format in backport PR fixes validation Add support for matching full Atlassian JIRA URLs in the format https://scylladb.atlassian.net/browse/SCYLLADB-400 in addition to the bare JIRA key format (SCYLLADB-400). This makes the validation more flexible by accepting both formats that developers commonly use when referencing JIRA issues. Fixes: https://github.com/scylladb/scylladb/issues/28373 Closes scylladb/scylladb#28374 --- .github/workflows/backport-pr-fixes-validation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backport-pr-fixes-validation.yaml b/.github/workflows/backport-pr-fixes-validation.yaml index 203381821f..4f640e40ab 100644 --- a/.github/workflows/backport-pr-fixes-validation.yaml +++ b/.github/workflows/backport-pr-fixes-validation.yaml @@ -18,7 +18,7 @@ jobs: // Regular expression pattern to check for "Fixes" prefix // Adjusted to dynamically insert the repository full name - const pattern = `Fixes:? ((?:#|${repo.replace('/', '\\/')}#|https://github\\.com/${repo.replace('/', '\\/')}/issues/)(\\d+)|([A-Z]+-\\d+))`; + const pattern = `Fixes:? ((?:#|${repo.replace('/', '\\/')}#|https://github\\.com/${repo.replace('/', '\\/')}/issues/)(\\d+)|(?:https://scylladb\\.atlassian\\.net/browse/)?([A-Z]+-\\d+))`; const regex = new RegExp(pattern); if (!regex.test(body)) {