update README
This commit is contained in:
parent
9d282d6587
commit
acfe4b9de0
|
@ -43,7 +43,7 @@ configured for the repo.
|
||||||
Every argument is optional.
|
Every argument is optional.
|
||||||
|
|
||||||
| Input | Description | Default |
|
| Input | Description | Default |
|
||||||
| ------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------- |
|
|---------------------------------------------------------------------|----------------------------------------------------------------------------|-----------------------|
|
||||||
| [repo-token](#repo-token) | PAT for GitHub API authentication | `${{ github.token }}` |
|
| [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-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 | |
|
| [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-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-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-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-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-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 | |
|
| [exempt-all-pr-assignees](#exempt-all-pr-assignees) | Override [exempt-all-assignees](#exempt-all-assignees) for PRs only | |
|
||||||
|
|
|
@ -195,7 +195,7 @@ export class IssuesProcessor {
|
||||||
|
|
||||||
private _lastIssueEvents: IIssueEvent[] = [];
|
private _lastIssueEvents: IIssueEvent[] = [];
|
||||||
private _lastIssueEventsIssueId = -1;
|
private _lastIssueEventsIssueId = -1;
|
||||||
private async getIssueEvents(issue: Issue): Promise<IIssueEvent[]> {
|
async getIssueEvents(issue: Issue): Promise<IIssueEvent[]> {
|
||||||
if (issue.number !== this._lastIssueEventsIssueId) {
|
if (issue.number !== this._lastIssueEventsIssueId) {
|
||||||
const options = this.client.rest.issues.listEvents.endpoint.merge({
|
const options = this.client.rest.issues.listEvents.endpoint.merge({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|
Loading…
Reference in New Issue