Skip to content

Mark & close stale issues/PRs #60

Mark & close stale issues/PRs

Mark & close stale issues/PRs #60

Workflow file for this run

name: Mark & close stale issues/PRs
on:
schedule:
- cron: "17 2 * * *"
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 200
days-before-stale: 60
days-before-close: 14
stale-issue-label: "stale"
stale-pr-label: "stale"
exempt-issue-labels: "pinned,security,backlog,never-stale"
exempt-pr-labels: "work-in-progress,never-stale"
exempt-all-milestones: true
remove-stale-when-updated: true
ignore-updates: false
ascending: false
stale-issue-message: |
This issue has been inactive for 60 days and is marked as **stale**.
If there is no new activity within 14 days it will be closed automatically.
Please add an update or label with `never-stale` to keep it open.
close-issue-message: |
This issue was automatically closed due to inactivity.
If still relevant, please reopen or create a new issue with updated context.
days-before-pr-stale: 30
days-before-pr-close: 10
stale-pr-message: |
This pull request has been inactive for 30 days and is marked as **stale**.
Please respond or push new commits within 10 days to prevent closing.
Label with `never-stale` to exclude.
close-pr-message: |
This pull request was automatically closed due to inactivity.
Feel free to reopen when you are ready to continue.
only-labels: ""
any-of-labels: ""
exempt-draft-pr: true