Skip to content

Stale Issues and PRs #59

Stale Issues and PRs

Stale Issues and PRs #59

Workflow file for this run

name: Stale Issues and PRs
on:
schedule:
# Run daily at midnight
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Mark stale issues and PRs
uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issues
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs within 7 days.
Thank you for your contributions!
close-issue-message: >
This issue was closed because it has been stale for 7 days with no activity.
Feel free to reopen if this is still relevant.
days-before-issue-stale: 60
days-before-issue-close: 7
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,bug,help wanted'
# Pull Requests
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs within 14 days.
close-pr-message: >
This pull request was closed because it has been stale for 14 days with no activity.
Feel free to reopen if you'd like to continue working on this.
days-before-pr-stale: 30
days-before-pr-close: 14
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,security,work-in-progress'
# Operations
operations-per-run: 30
ascending: true
delete-branch: false