Skip to content

Commit 28b96af

Browse files
committed
Removed myself from triaging comment notifications
- we've switched to a different flow for this and the existing automations are causing a lot of noise
1 parent 3ab8a7b commit 28b96af

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

actions/label-actions/dist/index.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10374,15 +10374,7 @@ async function main() {
1037410374
const existingTimelineEvents = await helpers.listTimelineEvents(openIssue);
1037510375
const needsTriageLabelEvent = existingTimelineEvents.find(l => l.event === 'labeled' && l.label?.name === 'needs:triage');
1037610376

10377-
if (needsTriageLabelEvent && helpers.isOlderThanXWeeks(needsTriageLabelEvent.created_at, 4)) {
10378-
if (helpers.isPendingOnInternal(existingTimelineEvents, needsTriageLabelEvent)) {
10379-
continue;
10380-
}
10381-
10382-
const issueAssignee = helpers.isTeamRepo() ? '55sketch' : (openIssue?.assignees?.[0]?.login || 'daniellockyer');
10383-
await helpers.leaveComment(openIssue, comments.PING_ASSIGNEE, {'{issue-assignee}': issueAssignee});
10384-
continue;
10385-
}
10377+
if (false) {}
1038610378
}
1038710379

1038810380
const openPullRequests = await helpers.listOpenPullRequests();

actions/label-actions/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function main() {
4747
const existingTimelineEvents = await helpers.listTimelineEvents(openIssue);
4848
const needsTriageLabelEvent = existingTimelineEvents.find(l => l.event === 'labeled' && l.label?.name === 'needs:triage');
4949

50-
if (needsTriageLabelEvent && helpers.isOlderThanXWeeks(needsTriageLabelEvent.created_at, 4)) {
50+
if (false && needsTriageLabelEvent && helpers.isOlderThanXWeeks(needsTriageLabelEvent.created_at, 4)) {
5151
if (helpers.isPendingOnInternal(existingTimelineEvents, needsTriageLabelEvent)) {
5252
continue;
5353
}

0 commit comments

Comments
 (0)