summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/tag-codeowner-on-issue.yml2
1 files changed, 1 insertions, 1 deletions
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()