mirror of
https://github.com/actions/stale.git
synced 2026-01-06 15:28:17 +00:00
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 <geoffrey.testelin@gmail.com>
This commit is contained in:
@@ -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