Fixed should be stale condition (#304)
* Fixed should be stale condition When different stale period is used for issues and pull requests, this code uses wrong one. This was probably missed in https://github.com/actions/stale/pull/224 Fixes #299 * Add tests for #299 Co-authored-by: Geoffrey Testelin <[email protected]>
This commit is contained in:
co-authored by
Geoffrey Testelin
parent
079c368275
commit
7164109781
@@ -273,7 +273,7 @@ export class IssueProcessor {
|
||||
// should this issue be marked stale?
|
||||
const shouldBeStale = !IssueProcessor._updatedSince(
|
||||
issue.updated_at,
|
||||
this.options.daysBeforeStale
|
||||
daysBeforeStale
|
||||
);
|
||||
|
||||
// determine if this issue needs to be marked stale first
|
||||
|
||||
Reference in New Issue
Block a user