summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)