mirror of
https://github.com/actions/stale.git
synced 2025-12-14 14:13:36 +00:00
Add (
This commit is contained in:
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -8514,7 +8514,6 @@ class IssueProcessor {
|
|||||||
let isStale = IssueProcessor.isLabeled(issue, staleLabel);
|
let isStale = IssueProcessor.isLabeled(issue, staleLabel);
|
||||||
// should this issue be marked stale?
|
// should this issue be marked stale?
|
||||||
const shouldBeStale = !IssueProcessor.updatedSince(issue.updated_at, this.options.daysBeforeStale);
|
const shouldBeStale = !IssueProcessor.updatedSince(issue.updated_at, this.options.daysBeforeStale);
|
||||||
// TODO: better stale calculation here not including bot comments
|
|
||||||
// determine if this issue needs to be marked stale first
|
// determine if this issue needs to be marked stale first
|
||||||
if (!isStale && shouldBeStale) {
|
if (!isStale && shouldBeStale) {
|
||||||
core.info(`Marking ${issueType} stale because it was last updated on ${issue.updated_at} and it does not have a stale label`);
|
core.info(`Marking ${issueType} stale because it was last updated on ${issue.updated_at} and it does not have a stale label`);
|
||||||
|
|||||||
@@ -163,8 +163,6 @@ export class IssueProcessor {
|
|||||||
this.options.daysBeforeStale
|
this.options.daysBeforeStale
|
||||||
);
|
);
|
||||||
|
|
||||||
// TODO: better stale calculation here not including bot comments
|
|
||||||
|
|
||||||
// determine if this issue needs to be marked stale first
|
// determine if this issue needs to be marked stale first
|
||||||
if (!isStale && shouldBeStale) {
|
if (!isStale && shouldBeStale) {
|
||||||
core.info(
|
core.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user