diff options
| author | Jose Santiago Vales Mena <[email protected]> | 2025-07-03 16:38:38 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-03 16:38:38 -0700 |
| commit | ba50875644d06277ac980391e8ab5895b3e87ec6 (patch) | |
| tree | 711ca1c6056254e1f2f8e92eac126e685cca6f3d | |
| parent | 7ac40cbf25e43ffda0645ab64cdaeda70a885d13 (diff) | |
| parent | e48795a8b2636a44689a02d8664050678f6ae256 (diff) | |
Merge pull request #6 from 5an7y/sample-based-issue-template
Correct regex expression
| -rw-r--r-- | .github/workflows/tag-codeowner-on-issue.yml | 2 |
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() |
