diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index a285e5e0..f74a4092 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -93,21 +93,9 @@ body: Please follow the guidelines below to ensure the logs are comprehensive: - **Boot Issues**: If the problem occurs during boot, capture the logs from the start of your device to a minute or two after the boot completes. - - - - - - Look for errors or unusual messages during this period. - **TFT File Update Issues**: For problems related to TFT file updates, include logs from the moment you press the **Update TFT Display** button until a few seconds after the device restarts. - - - - - - Pay attention to any error messages or warnings during the update process. - **Other Issues**: For other types of problems, include logs that encompass the issue's onset and continue for a short duration thereafter. This will help in pinpointing the exact moment and nature of the issue. diff --git a/.github/scripts/update_bug_template.py b/.github/scripts/update_bug_template.py new file mode 100644 index 00000000..3b8a777c --- /dev/null +++ b/.github/scripts/update_bug_template.py @@ -0,0 +1,108 @@ +#!/usr/bin/env python3 +# .github/scripts/update_bug_template.py +# +# Updates version placeholder values in the GitHub bug report template +# (.github/ISSUE_TEMPLATE/bug.yml) without reformatting the file. +# +# Called by the versioning workflow on every release to keep the placeholder +# hints in sync with the current release versions. +# +# Usage: +# python3 update_bug_template.py