Skip to content

Commit 9c2103e

Browse files
authored
Update last-reviewed-cron.yml
1 parent 4e651d6 commit 9c2103e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/last-reviewed-cron.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,14 @@ jobs:
197197
198198
const prNumber = item.content.number;
199199
const repoName = item.content.repository.name;
200-
const shortRef = `${repoName}#${prNumber}`;
201200
202201
let lastTwoSegments = pickLastTwoSegments(item.content.bodyText) || pickLastTwoSegments(item.content.url) || '(no-path)';
203202
204203
// Done -> Maintenance: LRD older/equal than 6 months ago
205204
if (status === STATUS_DONE && toDate(lrd) <= toDate(sixMonthsAgoISO)) {
206205
await setStatus(itemId, statusFieldId, maintId);
207206
movedDoneToMaint++;
208-
const line = `[Cron] Moved ${shortRef} → Maintenance (LRD ${lrd} ≤ ${sixMonthsAgoISO}) | ${lastTwoSegments}`;
207+
const line = `[Cron] Moved ${lastTwoSegments} → Maintenance (LRD ${lrd} ≤ ${sixMonthsAgoISO}) | ${lastTwoSegments}`;
209208
console.log(line);
210209
moveLog.push(line);
211210
continue; // skip second rule for same item

0 commit comments

Comments
 (0)