Skip to content

Mark or close stale issues and PRs #44

Mark or close stale issues and PRs

Mark or close stale issues and PRs #44

Workflow file for this run

name: 'Mark or close stale issues and PRs'
on:
schedule:
- cron: '0 0 1 * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/stale@v7.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 10
stale-issue-label: stale
stale-pr-label: stale
stale-issue-message: |
This issue has been automatically marked as stale because it has been open 10 days
with no activity. Remove stale label or comment why we need this.
stale-pr-message: |
This PR has been automatically marked as stale because it has been open 90 days
with no activity. Remove stale label or comment why we need this.
exempt-issue-labels: bug,wip,on-hold
exempt-pr-labels: bug,wip,on-hold
exempt-all-milestones: true
days-before-close: -1