blob: 74ba8bbe913dcfdac1c2244339a5f71fab0cb338 (
plain)
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
|
name: close-stales
on:
schedule:
- cron: '27 10 * * *'
jobs:
stale-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1.1.0
with:
repo-token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 400 days with no activity. Remove stale label or comment or this will be closed in 8 days'
days-before-stale: 400
days-before-close: 8
operations-per-run: 30
stale-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1.1.0
with:
repo-token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
stale-pr-message: 'This pull-request is stale because it has been open 40 days with no activity. Remove stale label or comment or this will be closed in 8 days'
days-before-stale: 40
days-before-close: 8
operations-per-run: 30
|