File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ jobs:
157157 }
158158 return rows;
159159 }
160-
161160 function inferTypeFromTitle(issueTitle) {
162161 if (/^\[bug\]/i.test(issueTitle)) return 'type: bug';
163162 if (/^\[feature\]/i.test(issueTitle)) return 'type: feature';
@@ -234,7 +233,6 @@ jobs:
234233 } catch (err) {
235234 console.log(`Could not load serverlist aliases: ${err.message}`);
236235 }
237-
238236 const labelsToAdd = new Set();
239237 const labelsToRemove = new Set();
240238
@@ -271,6 +269,11 @@ jobs:
271269 }
272270 }
273271
272+ const tmuxContextPattern = /\b(tmuxception|check_tmuxception)\b/i;
273+ if (existingLabels.has('info: tmux') && !tmuxContextPattern.test(`${title}\n${body}`)) {
274+ labelsToRemove.add('info: tmux');
275+ }
276+
274277 const desiredGames = new Set();
275278 const gameField = extractSection('Game');
276279 for (const candidate of parseGameCandidates(gameField)) {
@@ -356,7 +359,6 @@ jobs:
356359 'info: query',
357360 'info: steamcmd',
358361 'info: systemd',
359- 'info: tmux',
360362 'info: website',
361363 'info: alerts',
362364 ]);
You can’t perform that action at this time.
0 commit comments