diff options
| author | 5an7y <[email protected]> | 2025-07-14 11:08:24 -0700 |
|---|---|---|
| committer | 5an7y <[email protected]> | 2025-07-14 11:08:24 -0700 |
| commit | 454b59751cee92eeee1c288fef1fb3c1cfaa23ca (patch) | |
| tree | e8429a954a734bd68b81b79d8159267bc25d4d61 | |
| parent | 1cef4c5c605fce55b23c51470feabe64c0ae300b (diff) | |
Correct codeowner path
| -rw-r--r-- | .github/ISSUE_TEMPLATE/sample_issue_generator.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE/sample_issue_generator.py b/.github/ISSUE_TEMPLATE/sample_issue_generator.py index 964a8f1d..eafffcc4 100644 --- a/.github/ISSUE_TEMPLATE/sample_issue_generator.py +++ b/.github/ISSUE_TEMPLATE/sample_issue_generator.py @@ -1,8 +1,9 @@ -import re import yaml +import os # Read the CODEOWNERS file -with open("../CODEOWNERS", "r") as file: +codeowners_path = os.path.join(os.path.dirname(__file__), "..", "CODEOWNERS") +with open(codeowners_path, "r") as file: lines = file.readlines() # Parse the CODEOWNERS file to extract areas and their paths |
