Skip to content

Mark stale issues and pull requests #31

Mark stale issues and pull requests

Mark stale issues and pull requests #31

Workflow file for this run

# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '00 22 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issue:
days-before-issue-stale: 60
days-before-issue-close: 30
stale-issue-message: 'This issue is stale because it has been open for 60 days with no activity.'
close-issue-message: 'This issue was closed because it has been inactive for 30 days since being marked as stale.'
stale-issue-label: 'no-issue-activity'
# Pull Requests:
days-before-pr-stale: 60
days-before-pr-close: 30
stale-pr-message: 'This pull request is stale because there has been no activity for 60 days since its last update.'
close-pr-message: 'This pull request was closed because there has been no activity for 30 days since it was marked as stale.'
stale-pr-label: 'no-pr-activity'