-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (29 loc) · 1.02 KB
/
Copy pathstale.yml
File metadata and controls
33 lines (29 loc) · 1.02 KB
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
28
29
30
31
32
33
# Configuration for stale issue/PR bot
# Closes issues and PRs with no activity after the specified time
name: "Mark stale issues and PRs"
on:
schedule:
- cron: "30 1 * * *"
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
This issue has been inactive for 30 days and is being marked as stale.
It will be closed in 7 days unless there is further activity.
stale-pr-message: |
This PR has been inactive for 30 days and is being marked as stale.
It will be closed in 7 days unless there is further activity.
stale-issue-label: "stale"
stale-pr-label: "stale"
exempt-issue-labels: "priority:P0,priority:P1,pinned,security"
exempt-pr-labels: "dependencies,pinned,security"
days-before-stale: 30
days-before-close: 7