-
Notifications
You must be signed in to change notification settings - Fork 376
23 lines (22 loc) · 1 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
name: Close Stale Issues and Pull Requests
on:
repository_dispatch:
workflow_dispatch:
jobs:
close_stale_issues:
runs-on: ubuntu-22.04
steps:
- name: Close stale issues
uses: actions/stale@v9
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
close-issue-message: 'This issue was closed because it has been stale for 30 days with no activity.'
close-pr-message: 'This pull request was closed because it has been stale for 30 days with no activity.'
days-before-stale: 90
days-before-close: 30
operations-per-run: 500
stale-issue-label: stale
stale-pr-label: stale