generated from chrisgrieser/nvim-pseudometa-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
27 lines (24 loc) · 848 Bytes
/
stale-bot.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
name: "Close stale issues and PRs"
on:
schedule:
- cron: "18 04 * * 3"
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# DOCS https://github.com/actions/stale?tab=readme-ov-file#all-options
days-before-stale: 180 # ~6 months
days-before-close: 7
stale-issue-label: "Stale"
stale-issue-message: |
This issue has been automatically marked as stale.
**If this issue is still affecting you, please leave any comment**, for example "bump", and it will be kept open.
close-issue-message: |
This issue has been closed due to inactivity, and will not be monitored.