Skip to content

Commit 58bffb9

Browse files
committed
Add stale tracking action
1 parent 3a1553a commit 58bffb9

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/stale.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Stale PR tracking
2+
3+
on:
4+
schedule:
5+
- cron: '0 17 * * 1-5' # 9am UTC-8 on weekdays
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
if: github.repository == 'trinodb/trino-gateway'
14+
steps:
15+
- uses: actions/[email protected]
16+
with:
17+
stale-pr-message: 'This pull request has gone a while without any activity. Ask for help on ##trino-gateway-dev on Trino slack.'
18+
days-before-pr-stale: 21
19+
days-before-pr-close: 21
20+
close-pr-message: 'Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.'
21+
stale-pr-label: 'stale'
22+
exempt-pr-labels: 'stale-ignore'
23+
start-date: '2020-01-01T00:00:00Z'
24+
exempt-draft-pr: false
25+
operations-per-run: 200
26+
# Avoid processing issues completely, see https://github.com/actions/stale/issues/1112
27+
days-before-issue-stale: -1
28+
days-before-issue-close: -1

0 commit comments

Comments
 (0)