-
Notifications
You must be signed in to change notification settings - Fork 19
39 lines (29 loc) · 1.01 KB
/
pr-manage-stale.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
# Contributors: @wicksipedia @william-liebenberg @GordonBeeming
# < as per SSW.Rules: https://www.ssw.com.au/rules/standard-set-of-pull-request-workflows/ >
name: "PR - Manage Stale PRs"
on:
schedule:
# https://crontab.guru/#0_20_*_*_0 - At 20:00 on Sunday (UTC)
- cron: '0 20 * * 0'
workflow_dispatch:
permissions:
contents: read
issues: read
pull-requests: write
jobs:
review-reminder:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: -1 # don't mark issues as stale
days-before-pr-stale: 3
days-before-close: -1 # don't close issues/PRs
exempt-draft-pr: true
ignore-updates: true
stale-pr-message: |
Hi there!
This PR has been here a while.
[Did you know you should avoid merge debt?] (https://www.ssw.com.au/rules/merge-debt/)
Please review and merge or close.
Thanks!