forked from LandSandBoat/server
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 756 Bytes
/
Copy pathpr_stale.yaml
File metadata and controls
30 lines (27 loc) · 756 Bytes
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
name: Check Stale PRs
on:
workflow_dispatch: {}
schedule:
- cron: '30 1 * * *'
permissions:
actions: write
issues: write
pull-requests: write
jobs:
Stale:
name: Label and Close Stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
days-before-issue-stale: -1
days-before-pr-stale: 14
days-before-pr-close: 60
stale-pr-message: |
This PR has been automatically marked as stale because
it has not had recent activity. It will be closed if no
further activity occurs.
stale-pr-label: 'stale'
close-pr-label: 'abandoned'
exempt-pr-labels: 'hold'
remove-pr-stale-when-updated: true