mirror of
https://github.com/actions/stale.git
synced 2025-12-26 18:28:18 +00:00
* feat(exempt): add new options to exempt the milestones closes #270 * test(milestones): add coverage * test(issue): add coverage * chore(rebase): fix all errors due to the rebase also made some changes regarding the change I made with the lint scripts and prettier. I did not saw that some scripts were already here and I created to more to keep the old ones as well * test(milestone): add coverage * chore(index): update index * fix(checks): remove checks over optional number options the code was actually handling the case where the values are NaN so it's fine
6 lines
139 B
TypeScript
6 lines
139 B
TypeScript
import {Issue} from '../classes/issue';
|
|
|
|
export function isPullRequest(issue: Readonly<Issue>): boolean {
|
|
return !!issue.pull_request;
|
|
}
|