mrjackyliang/Lock Inactive Threads
A GitHub Action designed to lock issues and pull requests that have been inactive for a configurable number of days
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub token used to search and lock issues and pull requests | yes | "" |
| ISSUE_COMMENT | Comment to add before locking an inactive issue | no | Due to inactivity, this issue will be locked and marked as resolved. If you have any further questions or inquiries, please feel free to open a new issue. |
| ISSUE_INACTIVE_DAYS | Number of days of inactivity before an issue is locked | no | 30 |
| ISSUE_LOCK_REASON | Lock reason for issues (off-topic, resolved, spam, too heated) | no | resolved |
| PR_COMMENT | Comment to add before locking an inactive pull request | no | Due to inactivity, this pull request will be locked and marked as resolved. If you have any further questions or inquiries, please feel free to open a new pull request. |
| PR_INACTIVE_DAYS | Number of days of inactivity before a pull request is locked | no | 30 |
| PR_LOCK_REASON | Lock reason for pull requests (off-topic, resolved, spam, too heated) | no | resolved |
| EXCLUDE_LABELS | Labels to exclude from locking (comma de-limited list) | no | "" |
| LOG_OUTPUT | Enable detailed logging of locked issues and pull requests | no | true |
| DRY_RUN | Run without making any changes (preview what would be locked) | no | false |
Outputs
| name | description |
|---|---|
| result | The success or failure response after the action has completed |