steffen-karlsson/StaleSweeper
Automatically closes stale discussions to declutter your GitHub Discussion space.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`. | no | ${{ github.token }} |
| message | The message to post on the discussion when closing it. Defaults to no message. | no | — |
| days-before-close | The number of days to wait before closing a stale discussion. | yes | — |
| close-unanswered | If set to `true`, stale discussions that have not been marked as answered will also be closed. | no | false |
| category | The category of discussions to close. Defaults to all discussion types | no | — |
| close-reason | The reason to use when closing a discussion. Options include `DUPLICATE`, `OUTDATED`, and `RESOLVED`. | no | outdated |
| dry-run | If set to `true`, the processor will run in debug mode without performing any operations on live discussions. | no | false |
| verbose | If set to `true`, the processor will print out relevant information on all steps, including usage of GitHub API rate limits. | no | false |
Outputs
| name | description |
|---|---|
| closed-discussions | Provides a list of all discussions that were closed. |