Skip to content

Identify and close stale issues and pull requests #75

Identify and close stale issues and pull requests

Identify and close stale issues and pull requests #75

Workflow file for this run

name: Identify and close stale issues and pull requests
on:
schedule:
- cron: "0 0 * * 0"
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: ❎ identify and close stale issues and pull requests
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 7
stale-issue-label: 'stale'
stale-pr-label: 'stale'
stale-issue-message: 'Automatically marking issue as stale due to lack of activity'
stale-pr-message: 'Automatically marking pull request as stale due to lack of activity'
days-before-close: 14
close-issue-message: 'Automatically closing this issue as stale'
close-pr-message: 'Automatically closing this pull request as stale'