forked from santifer/career-ops
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.36 KB
/
Copy pathstale.yml
File metadata and controls
34 lines (32 loc) · 1.36 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
34
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 6 * * 1' # Every Monday at 6am UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
activity in 60 days. It will be closed in 14 days if no further activity occurs.
If this is still relevant, please comment to keep it open.
stale-pr-message: >
This PR has been automatically marked as stale because it has not had
activity in 30 days. It will be closed in 14 days if no further activity occurs.
If you're still working on this, please rebase and comment to keep it open.
close-issue-message: 'Closed due to inactivity. Feel free to reopen if this is still relevant.'
close-pr-message: 'Closed due to inactivity. Feel free to reopen with a fresh rebase if you want to continue.'
days-before-issue-stale: 60
days-before-pr-stale: 30
days-before-issue-close: 14
days-before-pr-close: 14
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-labels: 'pinned,security,roadmap'
exempt-pr-labels: 'pinned,security'