Reusable GitHub Action for closing stale issues after a period of inactivity.
name: Close Stale Issueson:
schedule:
- cron: '0 0 * * *'workflow_dispatch:
permissions:
actions: writeissues: writejobs:
close-stale-issues:
runs-on: ubuntu-lateststeps:
- uses: libnudget/stale@v1| Name | Required | Default | Notes |
|---|---|---|---|
days-before-stale | No | 14 | Days without activity before marking as stale |
days-before-close | No | 0 | Days after being marked stale before closing (0 = immediately) |
stale-issue-label | No | stale | Label to add to mark issues as stale |
close-issue-message | No | (see README) | Message to post when closing |
operations-per-run | No | 100 | Maximum operations per run |