Skip to content

Repository files navigation

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

About

GitHub Action for closing stale issues.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages