-
Notifications
You must be signed in to change notification settings - Fork 678
35 lines (30 loc) · 1.24 KB
/
stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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@v5
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: 1000