-
Notifications
You must be signed in to change notification settings - Fork 54
23 lines (22 loc) · 1.01 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: "Automatically close stale issues/PRs"
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1'
# Runs at 3AM UTC (noon KST) every Monday.
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: 'This issue is stale because it has been open for 180 days with no activity. Remove stale label or comment on it or it will be closed in 2 weeks.'
stale-pr-message: 'This pull request is stale because it has been open for 180 days with no activity. Remove stale label or comment on it or it will be closed in 2 weeks.'
close-issue-message: 'This issue is closed because there was no activity for 2 weeks.'
close-pr-message: 'This pull request is closed because there was no activity for 2 weeks.'
days-before-issue-stale: 180
days-before-pr-stale: 180
days-before-issue-close: 14
days-before-pr-close: 14
stale-pr-label: "stale"
stale-issue-label: "stale"