-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (25 loc) · 1.04 KB
/
stale.yaml
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: stale
on:
schedule:
- cron: "30 20 * * *"
jobs:
stale:
name: 🔒 Close Stale Issues and PRs
runs-on: ubuntu-latest
timeout-minutes: 4
permissions:
issues: write
pull-requests: write
steps:
- name: Close Stale Issues and PRs
uses: actions/[email protected]
with:
days-before-stale: 60
days-before-close: 14
stale-pr-label: "stale"
stale-issue-label: "stale"
close-issue-message: "This issue was closed because it has been stalled for 14 days with no activity."
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days."
stale-pr-message: "This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days."
close-pr-message: "This PR was closed because it has been stalled for 14 days with no activity."
repo-token: ${{ secrets.GITHUB_TOKEN }}