From e48795a8b2636a44689a02d8664050678f6ae256 Mon Sep 17 00:00:00 2001 From: 5an7y Date: Thu, 3 Jul 2025 16:37:25 -0700 Subject: Correct regex expression --- .github/workflows/tag-codeowner-on-issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag-codeowner-on-issue.yml b/.github/workflows/tag-codeowner-on-issue.yml index 2e87273c..088500d7 100644 --- a/.github/workflows/tag-codeowner-on-issue.yml +++ b/.github/workflows/tag-codeowner-on-issue.yml @@ -34,7 +34,7 @@ jobs: selected_path = None # Try to extract the selected path from the issue body - match = re.search(r'### Which is the area where the sample lives\\?\\n(.+)', issue_body) + match = re.search(r'### Which is the area where the sample lives\?\s*\n(.+)', issue_body, re.MULTILINE) if match: selected_path = match.group(1).strip() -- cgit v1.3.1