Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 895 Bytes

readme.md

File metadata and controls

34 lines (25 loc) · 895 Bytes

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