mirror of
https://github.com/actions/stale.git
synced 2025-12-10 20:21:20 +00:00
Update index based on master
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@@ -8800,11 +8800,6 @@ class IssueProcessor {
|
|||||||
// so that close calculations work correctly
|
// so that close calculations work correctly
|
||||||
const newUpdatedAtDate = new Date();
|
const newUpdatedAtDate = new Date();
|
||||||
issue.updated_at = newUpdatedAtDate.toString();
|
issue.updated_at = newUpdatedAtDate.toString();
|
||||||
// of days to wait before actually closing the issue.
|
|
||||||
const daysBeforeStaleInMillis = 1000 * 60 * 60 * 24 * this.options.daysBeforeStale;
|
|
||||||
const newUpdatedAtDate = new Date();
|
|
||||||
newUpdatedAtDate.setTime(newUpdatedAtDate.getTime() - daysBeforeStaleInMillis);
|
|
||||||
issue.updated_at = newUpdatedAtDate.toString();
|
|
||||||
if (this.options.debugOnly) {
|
if (this.options.debugOnly) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user