Skip to content

Commit 4710e1a

Browse files
authored
ci(github): update version number in placeholder of issue template (#28871)
it's always annoying for the need of looking up the latest version number if you know that you are working on latest and have to create many issues. best would be if the release would update this value automatically.
1 parent eedfc62 commit 4710e1a

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/ISSUE_TEMPLATE/1_bug_report.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ body:
2626
attributes:
2727
label: Version
2828
description: What version of ruff are you using? (see `ruff version`)
29-
placeholder: e.g., ruff 0.9.3 (90589372d 2025-01-23)
29+
placeholder: e.g., ruff 0.16.8
3030
validations:
3131
required: false

‎.github/ISSUE_TEMPLATE/3_question.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ body:
1313
attributes:
1414
label: Version
1515
description: What version of ruff are you using? (see `ruff version`)
16-
placeholder: e.g., ruff 0.9.3 (90589372d 2025-01-23)
16+
placeholder: e.g., ruff 0.16.8
1717
validations:
1818
required: false

‎pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ version_files = [
314314
{ target = "crates/ruff_linter/src/rules/**/*.rs", replace = "NEXT_RUFF_VERSION" },
315315
"crates/ruff_wasm/Cargo.toml",
316316
"scripts/benchmarks/pyproject.toml",
317+
".github/ISSUE_TEMPLATE/1_bug_report.yaml",
318+
".github/ISSUE_TEMPLATE/3_question.yaml",
317319
]
318320

319321
[tool.rooster.section-labels]

0 commit comments

Comments
 (0)