summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author5an7y <[email protected]>2025-07-14 11:23:41 -0700
committer5an7y <[email protected]>2025-07-14 11:23:41 -0700
commit44faaa22e3bf77bd9ba829d2c92ac61b970c8e96 (patch)
treee8eb5a0b912175129db58d3ce4636c5f14ebb912
parent454b59751cee92eeee1c288fef1fb3c1cfaa23ca (diff)
Correct sample issue path
-rw-r--r--.github/ISSUE_TEMPLATE/sample_issue_generator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/ISSUE_TEMPLATE/sample_issue_generator.py b/.github/ISSUE_TEMPLATE/sample_issue_generator.py
index eafffcc4..4b6eee64 100644
--- a/.github/ISSUE_TEMPLATE/sample_issue_generator.py
+++ b/.github/ISSUE_TEMPLATE/sample_issue_generator.py
@@ -67,5 +67,6 @@ yaml_form["body"].append(dropdown)
yaml_form["body"].append(description_field)
# Write the YAML to a file
-with open("sample_issue.yml", "w") as outfile:
+output_path = os.path.join(os.path.dirname(__file__), "sample_issue.yml")
+with open(output_path, "w") as outfile:
yaml.dump(yaml_form, outfile, sort_keys=False)