Skip to content

Commit ed28e70

Browse files
committed
merge: resolve master conflict in labeling workflow
2 parents d63057e + f83a1cb commit ed28e70

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/labeler.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
]);

0 commit comments

Comments
 (0)