Skip to content

Commit 372801e

Browse files
authored
Update last-reviewed-cron.yml
1 parent 7d4e801 commit 372801e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ jobs:
198198
const prNumber = item.content.number;
199199
const repoName = item.content.repository.name;
200200
201-
let lastTwoSegments = pickLastTwoSegments(item.content.bodyText) || pickLastTwoSegments(item.content.url) || '(no-path)';
201+
const publishedUrl = publishedUrlFieldId ? getText(item, publishedUrlFieldId) : null;
202+
const lastTwoSegments = lastTwoFromUrl(publishedUrl) || '(no-published-url)';
202203
203204
// Done -> Maintenance: LRD older/equal than 6 months ago
204205
if (status === STATUS_DONE && toDate(lrd) <= toDate(sixMonthsAgoISO)) {

0 commit comments

Comments
 (0)