https://github.com/directus/stale-issues-action
GitHub Action for closing stale issues.
https://github.com/directus/stale-issues-action
Last synced: 4 months ago
JSON representation
GitHub Action for closing stale issues.
- Host: GitHub
- URL: https://github.com/directus/stale-issues-action
- Owner: directus
- License: mit
- Created: 2024-08-01T15:39:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T10:13:54.000Z (11 months ago)
- Last Synced: 2025-03-10T09:59:15.392Z (10 months ago)
- Language: TypeScript
- Homepage: https://directus.io
- Size: 196 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Stale Issues Action
GitHub Action to close issues certain days after a stale label has been added.
## Usage
name: Close Stale Issues
on:
schedule:
- cron: '30 1 * * *'
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: directus/stale-issues-action@v1
with:
stale-label: stale
days-before-close: 7
close-message: Closing this issue as it has become stale.
A maximum of 50 issues with the stale label are processed per run in order not to exceed GitHub's rate limits. If more
stale issues are expected, it's recommended to schedule the action more frequently (but at no more than once an hour).
## Additional Resources
- [Directus Website](https://directus.io)
- [Directus GitHub Repository](https://github.com/directus/directus)