-
Notifications
You must be signed in to change notification settings - Fork 154
71 lines (63 loc) · 1.6 KB
/
close-old-pr.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<<<<<<< Updated upstream
name: Close Stale PRs
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
pull_request:
types:
- opened
- reopened
- synchronize
permissions:
pull-requests: write
issues: write
jobs:
close_stale_prs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GH_TOKEN }}
stale-pr-message: 'This PR has been automatically closed due to inactivity from the owner for 15 days.'
days-before-pr-stale: 15
days-before-pr-close: 0
exempt-pr-author: false
exempt-pr-labels: ''
only-labels: ''
operations-per-run: 30
remove-stale-when-updated: true
debug-only: false
=======
name: Close Stale PRs
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
pull_request:
types:
- opened
- reopened
- synchronize
permissions:
pull-requests: write
issues: write
jobs:
close_stale_prs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GH_TOKEN }}
stale-pr-message: 'This PR has been automatically closed due to inactivity from the owner for 15 days.'
days-before-pr-stale: 15
days-before-pr-close: 0
exempt-pr-author: false
exempt-pr-labels: ''
only-labels: ''
operations-per-run: 30
remove-stale-when-updated: true
debug-only: false
>>>>>>> Stashed changes