-
Notifications
You must be signed in to change notification settings - Fork 0
22 lines (20 loc) · 850 Bytes
/
stale.yml
File metadata and controls
22 lines (20 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Close stale issues and PRs
on:
workflow_call:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 30 # Marks issues as stale after 30 days of inactivity
days-before-issue-close: 7 # Closes stale issues after an additional 7 days
stale-issue-label: "stale"
stale-issue-message: "This issue has been automatically marked as stale due to inactivity."
days-before-pr-stale: 60 # Marks PRs as stale after 60 days of inactivity
days-before-pr-close: 14 # Closes stale PRs after an additional 14 days
stale-pr-label: "stale"
stale-pr-message: "This pull request has been automatically marked as stale due to inactivity."