step-security/'Stale Issue Cleanup' Action for GitHub Actions
Close issues and pull requests with no recent activity
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 }} | yes | — |
| issue-types | Issue types to process ("issues", "pull_requests", or "issues,pull_requests") | — | issues,pull_requests |
| stale-issue-message | The message to post on the issue when tagging it. If none provided, will not mark issues stale. | — | — |
| stale-pr-message | The message to post on the pr when tagging it. If none provided, will not mark pull requests stale. | — | — |
| days-before-stale | The number of days old an issue can be before marking it stale. | — | 60 |
| days-before-close | The number of days to wait to close an issue or pull request after it being marked stale. | — | 7 |
| stale-issue-label | The label to apply when an issue is stale. | — | Stale |
| exempt-issue-labels | The labels to apply when an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2") | — | — |
| stale-pr-label | The label to apply when a pull request is stale. | — | Stale |
| exempt-pr-labels | The labels to apply when a pull request is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2") | — | — |
| ancient-issue-message | The message to post when an issue is very old. | — | — |
| ancient-pr-message | The message to post when a pr is very old. | — | — |
| days-before-ancient | The number of days old an issue can be before marking it ancient. | — | 360 |
| response-requested-label | The label that gets applied when a response is requested. | — | — |
| closed-for-staleness-label | The label that gets applied when an issue is closed for staleness. | — | — |
| minimum-upvotes-to-exempt | The minimum number of "upvotes" that an issue needs to have before not marking as ancient. | — | — |
| loglevel | Set to DEBUG to enable debug logging | — | — |
| dry-run | Set to true to not perform repository changes | — | — |
| use-created-date-for-ancient | Set to true to use issue created date instead of modified date for determining an ancient issue. | — | — |
Outputs
no outputs