fix(issues): require exact bug-report revisions (#5984)

This commit is contained in:
RaresKeY
2026-08-16 23:04:23 +01:00
committed by GitHub
parent b19d327f03
commit 71f30fcc9d
3 changed files with 125 additions and 0 deletions
@@ -41,6 +41,14 @@ module.exports = async ({ github, context, core }) => {
break;
case 'bug': {
const revisionText = section('Odysseus Revision');
if (!/^[0-9a-f]{12} \(\d{4}-\d{2}-\d{2}\)$/i.test(revisionText)) {
failures.push(
'**Odysseus Revision** — paste the 12-character commit SHA and date, ' +
'for example `1fef4929cf1d (2026-08-11)`',
);
}
if (!section('Install Method')) {
failures.push('**Install Method** — select how you installed Odysseus');
}