-
Notifications
You must be signed in to change notification settings - Fork 1.1k
26 lines (25 loc) · 1001 Bytes
/
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
name: Close Stale PRs
on:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-24.04
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
stale-pr-message: 'This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.'
stale-issue-message: This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.'
remove-stale-when-updated: true
exempt-pr-labels: "never-stale"
exempt-issue-labels: "never-stale"
# 1 month
days-before-stale: 31
# 1 month
days-before-close: 31
only-labels: 'waiting-on-response'