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

Commit

Permalink
Remove 'trackStaleIssuesAndPullRequests'. Adopting the 'locker' actio…
Browse files Browse the repository at this point in the history
…n. (#83)
  • Loading branch information
jeffhandley authored Nov 30, 2023
1 parent 3b27b6c commit 999fb2f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 325 deletions.
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.

0 comments on commit 999fb2f

Please sign in to comment.