Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Remove 'trackStaleIssuesAndPullRequests'. Adopting the 'locker' action. #83

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 0 additions & 107 deletions generated/machinelearning.json
Original file line number Diff line number Diff line change
Expand Up @@ -1466,112 +1466,5 @@
}
]
}
},
{
"taskSource": "fabricbot-config",
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"taskName": "Lock stale issues and PRs",
"actions": [
{
"name": "lockIssue",
"parameters": {
"reason": "resolved",
"label": "will_lock_this"
}
}
],
"frequency": [
{
"weekDay": 0,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 1,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 2,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 3,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 4,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 5,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 6,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
}
],
"searchTerms": [
{
"name": "isClosed",
"parameters": {}
},
{
"name": "noActivitySince",
"parameters": {
"days": 30
}
},
{
"name": "isUnlocked",
"parameters": {}
}
]
}
}
]
107 changes: 0 additions & 107 deletions generated/runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -1496,112 +1496,5 @@
}
]
}
},
{
"taskSource": "fabricbot-config",
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"taskName": "Lock stale issues and PRs",
"actions": [
{
"name": "lockIssue",
"parameters": {
"reason": "resolved",
"label": "will_lock_this"
}
}
],
"frequency": [
{
"weekDay": 0,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 1,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 2,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 3,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 4,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 5,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
},
{
"weekDay": 6,
"hours": [
1,
7,
13,
19
],
"timezoneOffset": 0
}
],
"searchTerms": [
{
"name": "isClosed",
"parameters": {}
},
{
"name": "noActivitySince",
"parameters": {
"days": 30
}
},
{
"name": "isUnlocked",
"parameters": {}
}
]
}
}
]
6 changes: 2 additions & 4 deletions src/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ const repoWideTasks = {
...issueAndPullRequestTasks.addCommunityContributionLabel(),
...issueAndPullRequestTasks.trackNeedsAuthorAction(),
...issueAndPullRequestTasks.trackNoRecentActivity(14, ['backlog-cleanup-candidate']),
...issueAndPullRequestTasks.trackInactiveDrafts(30),
...issueAndPullRequestTasks.trackStaleIssuesAndPullRequests(30),
...issueAndPullRequestTasks.trackInactiveDrafts(30)
],
"machinelearning": [
...issueAndPullRequestTasks.trackUntriaged(),
Expand All @@ -50,8 +49,7 @@ const repoWideTasks = {
...issueAndPullRequestTasks.addCommunityContributionLabel(),
...issueAndPullRequestTasks.trackNeedsAuthorAction(),
...issueAndPullRequestTasks.trackNoRecentActivity(14),
...issueAndPullRequestTasks.trackInactiveDrafts(30),
...issueAndPullRequestTasks.trackStaleIssuesAndPullRequests(30),
...issueAndPullRequestTasks.trackInactiveDrafts(30)
],
"dotnet-api-docs": [
...issueAndPullRequestTasks.trackUntriaged(),
Expand Down
1 change: 0 additions & 1 deletion src/issueAndPullRequestTasks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ module.exports = {
trackInactiveDrafts: require("./trackInactiveDrafts"),
trackNeedsAuthorAction: require("./trackNeedsAuthorAction"),
trackNoRecentActivity: require("./trackNoRecentActivity"),
trackStaleIssuesAndPullRequests: require("./trackStaleIssuesAndPullRequests"),
trackUntriaged: require("./trackUntriaged")
};
106 changes: 0 additions & 106 deletions src/issueAndPullRequestTasks/trackStaleIssuesAndPullRequests.js

This file was deleted.