Skip to content

Mark stale issues

Mark stale issues #41

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.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues
on:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
stale:
runs-on: windows-latest
permissions:
issues: write
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true # older issues first
stale-issue-label: 'no-issue-activity'
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
days-before-stale: 180
days-before-pr-stale: -1 # issues only
days-before-close: 5
# any-of-labels: 'bug, code-vs-markup-mismatch, discussion, documentation, question, spec issue, test issue, wpf-vs-winui-mismatch'
exempt-issue-labels: 'feature proposal'
exempt-all-milestones: true
debug-only: ${{ github.event_name == 'pull_request' }} # Dry-run changes to the workflow
operations-per-run: 4000