An open API service indexing awesome lists of open source software.

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.

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)