summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Santiago Vales Mena <[email protected]>2025-07-14 11:24:25 -0700
committerGitHub <[email protected]>2025-07-14 11:24:25 -0700
commit80120499bab730c499b4554480ddec04c7b38ff3 (patch)
tree5fd570eddfcd060c35f843d890ee5a9f8ab6a510
parent668fe2d39641b24469fc6bea6ccb6dfb85b8925a (diff)
parent44faaa22e3bf77bd9ba829d2c92ac61b970c8e96 (diff)
Merge pull request #16 from 5an7y/sample-based-issue-template
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)