Compare commits

..

1 Commits

Author SHA1 Message Date
Ross Brodbeck
6e371e8e95 Update distribution with latest packages 2020-10-09 07:28:58 -04:00

View File

@@ -18,31 +18,6 @@ Run the tests :heavy_check_mark:
```bash
$ npm test
```
### Arguments
| Input | Description | Usage |
| :---: | :---: | :---: |
| `repo-token` | PAT(Personal Access Token) for authorizing repository. | *Required* |
| `days-before-stale` | Idle number of days before marking an issue/pr as stale. *Defaults to **60*** | Optional
| `days-before-close` | Idle number of days before closing an stale issue/pr. *Defaults to **7*** | Optional
| `stale-issue-message` | Message to post on the stale issue. | Optional
| `stale-pr-message` | Message to post on the stale pr. | Optional
| `close-issue-message` | Message to post on the stale issue while closing it. | Optional
| `close-pr-message` | Message to post on the stale pr while closing it. | Optional
| `stale-issue-label` | Label to apply on the stale issue. *Defaults to **stale*** | Optional
| `close-issue-label` | Label to apply on closing issue. | Optional
| `stale-pr-label` | Label to apply on the stale pr. | Optional
| `close-pr-label` | Label to apply on the closing pr. | Optional
| `exempt-issue-labels` | Labels on an issue exempted from being marked as stale. | Optional
| `exempt-pr-labels` | Labels on the pr exempted from being marked as stale. | Optional
| `only-labels` | Only labels checked for stale issue/pr. | Optional
| `operations-per-run` | Maximum number of operations per run. *Defaults to **30*** | Optional
| `remove-stale-when-updated` | Remove stale label from issue/pr on updates or comments. *Defaults to **true*** | Optional
| `debug-only` | Dry-run on action. *Defaults to **false*** | Optional
| `ascending` | Order to get issues/pr. *Defaults to **false*** | Optional
| `skip-stale-issue-message` | Skip adding stale message on stale issue. *Defaults to **false*** | Optional
| `skip-stale-pr-message` | Skip adding stale message on stale pr. *Defaults to **false*** | Optional
### Usage
@@ -53,7 +28,7 @@ Basic:
name: "Close stale issues"
on:
schedule:
- cron: "30 1 * * *"
- cron: "0 0 * * *"
jobs:
stale:
@@ -71,7 +46,7 @@ Configure stale timeouts:
name: "Close stale issues"
on:
schedule:
- cron: "30 1 * * *"
- cron: "0 0 * * *"
jobs:
stale:
@@ -90,7 +65,7 @@ Configure labels:
name: "Close stale issues"
on:
schedule:
- cron: "30 1 * * *"
- cron: "0 0 * * *"
jobs:
stale: