update README

This commit is contained in:
Sergey Dolin 2023-07-10 08:36:12 +02:00
parent 9d282d6587
commit acfe4b9de0
2 changed files with 56 additions and 55 deletions

View File

@ -43,7 +43,7 @@ configured for the repo.
Every argument is optional.
| Input | Description | Default |
| ------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------- |
|---------------------------------------------------------------------|----------------------------------------------------------------------------|-----------------------|
| [repo-token](#repo-token) | PAT for GitHub API authentication | `${{ github.token }}` |
| [days-before-stale](#days-before-stale) | Idle number of days before marking issues/PRs stale | `60` |
| [days-before-issue-stale](#days-before-issue-stale) | Override [days-before-stale](#days-before-stale) for issues only | |
@ -88,6 +88,7 @@ Every argument is optional.
| [exempt-assignees](#exempt-assignees) | Assignees on issues/PRs exempted from stale | |
| [exempt-issue-assignees](#exempt-issue-assignees) | Override [exempt-assignees](#exempt-assignees) for issues only | |
| [exempt-pr-assignees](#exempt-pr-assignees) | Override [exempt-assignees](#exempt-assignees) for PRs only | |
| [exempt-pinned-issues](#exempt-pinned-issues) | Exempt pinned issues from stale | `false` |
| [exempt-all-assignees](#exempt-all-assignees) | Exempt all issues/PRs with assignees from stale | `false` |
| [exempt-all-issue-assignees](#exempt-all-issue-assignees) | Override [exempt-all-assignees](#exempt-all-assignees) for issues only | |
| [exempt-all-pr-assignees](#exempt-all-pr-assignees) | Override [exempt-all-assignees](#exempt-all-assignees) for PRs only | |

View File

@ -195,7 +195,7 @@ export class IssuesProcessor {
private _lastIssueEvents: IIssueEvent[] = [];
private _lastIssueEventsIssueId = -1;
private async getIssueEvents(issue: Issue): Promise<IIssueEvent[]> {
async getIssueEvents(issue: Issue): Promise<IIssueEvent[]> {
if (issue.number !== this._lastIssueEventsIssueId) {
const options = this.client.rest.issues.listEvents.endpoint.merge({
owner: context.repo.owner,